Constants.swift (1697B)
1 // 2 // Constants.swift 3 // damus 4 // 5 // Created by Sam DuBois on 12/18/22. 6 // 7 8 import Foundation 9 10 class Constants { 11 //static let EXAMPLE_DEMOS: DamusState = .empty 12 static let DAMUS_APP_GROUP_IDENTIFIER: String = "group.com.damus" 13 static let MAIN_APP_BUNDLE_IDENTIFIER: String = "com.jb55.damus2" 14 static let NOTIFICATION_EXTENSION_BUNDLE_IDENTIFIER: String = "com.jb55.damus2.DamusNotificationService" 15 16 // MARK: Push notification server 17 static let PUSH_NOTIFICATION_SERVER_PRODUCTION_BASE_URL: URL = URL(string: "https://notify.damus.io")! 18 static let PUSH_NOTIFICATION_SERVER_STAGING_BASE_URL: URL = URL(string: "https://notify-staging.damus.io")! 19 static let PUSH_NOTIFICATION_SERVER_TEST_BASE_URL: URL = URL(string: "http://localhost:8000")! 20 21 // MARK: Purple 22 // API 23 static let PURPLE_API_LOCAL_TEST_BASE_URL: URL = URL(string: "http://localhost:8989")! 24 static let PURPLE_API_STAGING_BASE_URL: URL = URL(string: "https://api-staging.damus.io")! 25 static let PURPLE_API_PRODUCTION_BASE_URL: URL = URL(string: "https://api.damus.io")! 26 // Purple landing page 27 static let PURPLE_LANDING_PAGE_LOCAL_TEST_URL: URL = URL(string: "http://localhost:3000/purple")! 28 static let PURPLE_LANDING_PAGE_STAGING_URL: URL = URL(string: "https://staging.damus.io/purple")! 29 static let PURPLE_LANDING_PAGE_PRODUCTION_URL: URL = URL(string: "https://damus.io/purple")! 30 // Website 31 static let DAMUS_WEBSITE_LOCAL_TEST_URL: URL = URL(string: "http://localhost:3000")! 32 static let DAMUS_WEBSITE_STAGING_URL: URL = URL(string: "https://staging.damus.io")! 33 static let DAMUS_WEBSITE_PRODUCTION_URL: URL = URL(string: "https://damus.io")! 34 }