diff --git a/damus/Models/PushNotificationClient.swift b/damus/Models/PushNotificationClient.swift index 70775783..39f0214e 100644 --- a/damus/Models/PushNotificationClient.swift +++ b/damus/Models/PushNotificationClient.swift @@ -220,7 +220,7 @@ extension PushNotificationClient { case .local_test(let host): URL(string: "http://\(host ?? "localhost:8000")") ?? Constants.PUSH_NOTIFICATION_SERVER_TEST_BASE_URL case .production: - Constants.PURPLE_API_PRODUCTION_BASE_URL + Constants.PUSH_NOTIFICATION_SERVER_PRODUCTION_BASE_URL } } diff --git a/damus/Util/Constants.swift b/damus/Util/Constants.swift index 279b92d7..312a1b35 100644 --- a/damus/Util/Constants.swift +++ b/damus/Util/Constants.swift @@ -14,7 +14,7 @@ class Constants { static let NOTIFICATION_EXTENSION_BUNDLE_IDENTIFIER: String = "com.jb55.damus2.DamusNotificationService" // MARK: Push notification server - static let PUSH_NOTIFICATION_SERVER_PRODUCTION_BASE_URL: URL = URL(string: "http://45.33.32.5:8000")! + static let PUSH_NOTIFICATION_SERVER_PRODUCTION_BASE_URL: URL = URL(string: "https://notify.damus.io")! static let PUSH_NOTIFICATION_SERVER_TEST_BASE_URL: URL = URL(string: "http://localhost:8000")! // MARK: Purple