Add option to specify custom push notification server for testing
This commit adds an option that allows a user to choose a custom push notification server, as well as the staging notify server, to help with testing Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
1 parent
c1a89bd617
commit
90b284fb6e
5 files changed
+56
-7
No files matched your search
@@ -15,6 +15,7 @@ class Constants {
|
||||
|
||||
// MARK: Push notification server
|
||||
static let PUSH_NOTIFICATION_SERVER_PRODUCTION_BASE_URL: URL = URL(string: "https://notify.damus.io")!
|
||||
static let PUSH_NOTIFICATION_SERVER_STAGING_BASE_URL: URL = URL(string: "https://notify-staging.damus.io")!
|
||||
static let PUSH_NOTIFICATION_SERVER_TEST_BASE_URL: URL = URL(string: "http://localhost:8000")!
|
||||
|
||||
// MARK: Purple
|
||||
|
||||
Reference in new issue
Block a user