mirror of
git://jb55.com/damus
synced 2024-09-29 00:10:43 +00:00
Update push notification server address
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
parent
27083669fa
commit
3a9dda5eb3
@ -220,7 +220,7 @@ extension PushNotificationClient {
|
|||||||
case .local_test(let host):
|
case .local_test(let host):
|
||||||
URL(string: "http://\(host ?? "localhost:8000")") ?? Constants.PUSH_NOTIFICATION_SERVER_TEST_BASE_URL
|
URL(string: "http://\(host ?? "localhost:8000")") ?? Constants.PUSH_NOTIFICATION_SERVER_TEST_BASE_URL
|
||||||
case .production:
|
case .production:
|
||||||
Constants.PURPLE_API_PRODUCTION_BASE_URL
|
Constants.PUSH_NOTIFICATION_SERVER_PRODUCTION_BASE_URL
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ class Constants {
|
|||||||
static let NOTIFICATION_EXTENSION_BUNDLE_IDENTIFIER: String = "com.jb55.damus2.DamusNotificationService"
|
static let NOTIFICATION_EXTENSION_BUNDLE_IDENTIFIER: String = "com.jb55.damus2.DamusNotificationService"
|
||||||
|
|
||||||
// MARK: Push notification server
|
// 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")!
|
static let PUSH_NOTIFICATION_SERVER_TEST_BASE_URL: URL = URL(string: "http://localhost:8000")!
|
||||||
|
|
||||||
// MARK: Purple
|
// MARK: Purple
|
||||||
|
Loading…
Reference in New Issue
Block a user