We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718a26a commit fa5bc72Copy full SHA for fa5bc72
Sources/Segment/Plugins/SegmentDestination.swift
@@ -81,7 +81,7 @@ public class SegmentDestination: DestinationPlugin, Subscriber, FlushCompletion
81
*/
82
// if customer specifies a different apiHost (ie: eu1.segmentapis.com) at app.segment.com ...
83
if let host = segmentInfo?[Self.Constants.apiHost.rawValue] as? String, host.isEmpty == false {
84
- if host != analytics.configuration.values.writeKey {
+ if host != analytics.configuration.values.apiHost {
85
analytics.configuration.values.apiHost = host
86
httpClient = HTTPClient(analytics: analytics)
87
}
0 commit comments