diff options
Diffstat (limited to 'Hutch/App')
| -rw-r--r-- | Hutch/App/AppConfiguration.swift | 2 | ||||
| -rw-r--r-- | Hutch/App/HutchIntents.swift | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Hutch/App/AppConfiguration.swift b/Hutch/App/AppConfiguration.swift index 7824371..c733799 100644 --- a/Hutch/App/AppConfiguration.swift +++ b/Hutch/App/AppConfiguration.swift @@ -1,7 +1,7 @@ import Foundation struct AppConfiguration: Sendable { - static let defaultHutchStatsBaseURL = URL(string: "https://hutch-stats.zerolabs.sh")! + static let defaultHutchStatsBaseURL = HutchStatsAPI.defaultBaseURL static let hutchStatsBaseURLEnvironmentKey = "HUTCH_STATS_BASE_URL" let hutchStatsBaseURL: URL diff --git a/Hutch/App/HutchIntents.swift b/Hutch/App/HutchIntents.swift index a7a33b3..5751ef5 100644 --- a/Hutch/App/HutchIntents.swift +++ b/Hutch/App/HutchIntents.swift @@ -150,5 +150,7 @@ final class HutchIntentNavigator { static let shared = HutchIntentNavigator() var pendingDestination: HutchDestination? - private init() {} + private init() { + /* Singleton; external code uses `shared`. */ + } } |
