35 lines
1.5 KiB
Swift
35 lines
1.5 KiB
Swift
import Foundation
|
||
|
||
enum Constants {
|
||
static var baseUrl: String {
|
||
#if DEBUG
|
||
return "http://127.0.0.1:3000/"
|
||
//return "http://192.168.1.67:3000/"
|
||
//return "https://vps.aliencat.pro:8443/"
|
||
#else
|
||
return "https://vps.aliencat.pro:8443/"
|
||
#endif
|
||
}
|
||
|
||
static let pnLettersMap: [Character: Character] = [
|
||
"А": "A", "В": "B", "Е": "E", "К": "K", "М": "M", "Н": "H", "О": "O", "Р": "P", "С": "C", "Т": "T", "У": "Y", "Х": "X"
|
||
]
|
||
|
||
static let googleAuthURL = "https://accounts.google.com/o/oauth2/v2/auth"
|
||
static let googleTokenURL = "https://oauth2.googleapis.com/token"
|
||
static let googleRedirectURL = "com.googleusercontent.apps.994679674451-k7clunkk4nicl6iuajdtc5u7hvustbdb:/oauth2callback"
|
||
|
||
static let fbClientId = "994679674451-k7clunkk4nicl6iuajdtc5u7hvustbdb.apps.googleusercontent.com"
|
||
static let fbApiKey = "AIzaSyDVlrQj_05y6AeZNf8enpSWFIiHhgwfnGI"
|
||
|
||
static let fbClientVersion = "iOS/FirebaseSDK/6.5.1/FirebaseCore-iOS"
|
||
static let fbVerifyAssertion = "https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion"
|
||
static let fbRefreshToken = "https://securetoken.googleapis.com/v1/token"
|
||
static let fbUserAgent = "FirebaseAuth.iOS/6.5.1 ru.Vin01/1.0 iPhone/13.5 hw/sim"
|
||
|
||
static let secondProviderBundleId = "ru.Vin01"
|
||
|
||
static let reportLinkTokenSecret = "#TheTruthIsOutThere"
|
||
static let reportLinkBaseURL = "https://auto.aliencat.pro/report.html"
|
||
}
|