39 lines
1.8 KiB
Swift
39 lines
1.8 KiB
Swift
import Foundation
|
||
|
||
public enum Constants {
|
||
public 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
|
||
}
|
||
|
||
public static let pnLettersMap: [Character: Character] = [
|
||
"А": "A", "В": "B", "Е": "E", "К": "K", "М": "M", "Н": "H", "О": "O", "Р": "P", "С": "C", "Т": "T", "У": "Y", "Х": "X"
|
||
]
|
||
|
||
public static let vinLetters: [Character] = [
|
||
"A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"
|
||
]
|
||
|
||
public static let googleAuthURL = "https://accounts.google.com/o/oauth2/v2/auth"
|
||
public static let googleTokenURL = "https://oauth2.googleapis.com/token"
|
||
public static let googleRedirectURL = "com.googleusercontent.apps.994679674451-k7clunkk4nicl6iuajdtc5u7hvustbdb:/oauth2callback"
|
||
|
||
public static let fbClientId = "994679674451-k7clunkk4nicl6iuajdtc5u7hvustbdb.apps.googleusercontent.com"
|
||
public static let fbApiKey = "AIzaSyDVlrQj_05y6AeZNf8enpSWFIiHhgwfnGI"
|
||
|
||
public static let fbClientVersion = "iOS/FirebaseSDK/6.5.1/FirebaseCore-iOS"
|
||
public static let fbVerifyAssertion = "https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion"
|
||
public static let fbRefreshToken = "https://securetoken.googleapis.com/v1/token"
|
||
public static let fbUserAgent = "FirebaseAuth.iOS/6.5.1 ru.Vin01/1.0 iPhone/13.5 hw/sim"
|
||
|
||
public static let secondProviderBundleId = "ru.Vin01"
|
||
|
||
public static let reportLinkTokenSecret = "#TheTruthIsOutThere"
|
||
public static let reportLinkBaseURL = "https://auto.aliencat.pro/report.html"
|
||
}
|