mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Hardcode push notification endpoint
Contributes to IOS-384
This commit is contained in:
parent
a9b7e5a341
commit
457f494a28
@ -9,7 +9,6 @@ import Foundation
|
||||
import CryptoKit
|
||||
import KeychainAccess
|
||||
import MastodonCommon
|
||||
import ArkanaKeys
|
||||
|
||||
public final class AppSecret {
|
||||
|
||||
@ -36,11 +35,11 @@ public final class AppSecret {
|
||||
|
||||
init() {
|
||||
#if DEBUG
|
||||
let keys = Keys.Debug()
|
||||
self.notificationEndpoint = keys.notificationEndpoint
|
||||
//let keys = Keys.Debug()
|
||||
self.notificationEndpoint = "https://app.joinmastodon.org/relay-to/production"
|
||||
#else
|
||||
let keys = Keys.Release()
|
||||
self.notificationEndpoint = keys.notificationEndpoint
|
||||
//let keys = Keys.Release()
|
||||
self.notificationEndpoint = "https://app.joinmastodon.org/relay-to/production"
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user