Skip to content

Commit

Permalink
Update App Delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Feb 26, 2023
1 parent 7612910 commit a8f6cfe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Utah/UtahAppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ class UtahAppDelegate: CardinalKitAppDelegate {


private var firestore: Firestore<FHIR> {
var firestoreSettings = FirestoreSettings()
let settings = FirestoreSettings()
if FeatureFlags.useFirebaseEmulator {
let settings = FirestoreSettings()
settings.host = "localhost:8080"
settings.isPersistenceEnabled = false
settings.isSSLEnabled = false
Expand All @@ -59,7 +58,7 @@ class UtahAppDelegate: CardinalKitAppDelegate {
FHIRToFirestoreAdapter()
FirestoreStoragePrefixUserIdAdapter()
},
settings: firestoreSettings
settings: settings
)
}

Expand Down

0 comments on commit a8f6cfe

Please sign in to comment.