Skip to content

Commit 48d0921

Browse files
kolyan94Mykola Vaniurskyi
andauthored
fix: remove serverUrl as default value for configuration (#34)
* fix: remove US URL as default * fix: Make serverUrl init param as optional and nil by default --------- Co-authored-by: Mykola Vaniurskyi <nicvan@ukr.net>
1 parent 4f49720 commit 48d0921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Amplitude/Configuration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class Configuration {
4646
flushMaxRetries: Int = Constants.Configuration.FLUSH_MAX_RETRIES,
4747
useBatch: Bool = false,
4848
serverZone: ServerZone = ServerZone.US,
49-
serverUrl: String = Constants.DEFAULT_API_HOST,
49+
serverUrl: String? = nil,
5050
plan: Plan? = nil,
5151
ingestionMetadata: IngestionMetadata? = nil,
5252
trackingOptions: TrackingOptions = TrackingOptions(),

0 commit comments

Comments
 (0)