From ef4afbc72082b7e075cbf78dd5a2c753d3380657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Mon, 19 Aug 2024 17:40:56 -0700 Subject: [PATCH] Update push notification server address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel D’Aquino --- damus/Models/PushNotificationClient.swift | 2 +- damus/Util/Constants.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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