fix default server settings

This commit is contained in:
Grahame Grieve 2023-04-22 18:55:56 +08:00
parent fbaff6cdb0
commit 907126703f
1 changed files with 2 additions and 2 deletions

View File

@ -147,14 +147,14 @@ public class FhirSettings {
public static String getTxFhirDevelopment() { public static String getTxFhirDevelopment() {
getInstance(); getInstance();
return instance.fhirSettings.getTxFhirDevelopment() == null return instance.fhirSettings.getTxFhirDevelopment() == null
? FhirSettingsPOJO.TX_SERVER_PROD ? FhirSettingsPOJO.TX_SERVER_DEV
: instance.fhirSettings.getTxFhirDevelopment(); : instance.fhirSettings.getTxFhirDevelopment();
} }
public static String getTxFhirLocal() { public static String getTxFhirLocal() {
getInstance(); getInstance();
return instance.fhirSettings.getTxFhirLocal() == null return instance.fhirSettings.getTxFhirLocal() == null
? FhirSettingsPOJO.TX_SERVER_PROD ? FhirSettingsPOJO.TX_SERVER_LOCAL
: instance.fhirSettings.getTxFhirLocal(); : instance.fhirSettings.getTxFhirLocal();
} }