Skip to content

Commit

Permalink
fix: remove serverUrl as default value for configuration (#34)
Browse files Browse the repository at this point in the history
* fix: remove US URL as default

* fix: Make serverUrl init param as optional and nil by default

---------

Co-authored-by: Mykola Vaniurskyi <[email protected]>
  • Loading branch information
kolyan94 and Mykola Vaniurskyi authored Feb 14, 2023
1 parent 4f49720 commit 48d0921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Amplitude/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class Configuration {
flushMaxRetries: Int = Constants.Configuration.FLUSH_MAX_RETRIES,
useBatch: Bool = false,
serverZone: ServerZone = ServerZone.US,
serverUrl: String = Constants.DEFAULT_API_HOST,
serverUrl: String? = nil,
plan: Plan? = nil,
ingestionMetadata: IngestionMetadata? = nil,
trackingOptions: TrackingOptions = TrackingOptions(),
Expand Down

0 comments on commit 48d0921

Please sign in to comment.