diff --git a/SolardVPNCommunityCoreiOS/SOLARdVPNCommunityCoreiOS/Common/Utilities/ClientConstants.swift b/SolardVPNCommunityCoreiOS/SOLARdVPNCommunityCoreiOS/Common/Utilities/ClientConstants.swift index ee43f16..26a89cf 100644 --- a/SolardVPNCommunityCoreiOS/SOLARdVPNCommunityCoreiOS/Common/Utilities/ClientConstants.swift +++ b/SolardVPNCommunityCoreiOS/SOLARdVPNCommunityCoreiOS/Common/Utilities/ClientConstants.swift @@ -6,12 +6,25 @@ // import Foundation +import SentinelWallet enum ClientConstants { static let host = "localhost" static let port = 3876 + static let defaultLCDHostString = "lcd-sentinel.dvpn.solar" + static let defaultLCDPort = 993 + static let apiPath = "api" static let backendURL = URL(string: "https://BACKEND")! } + +final class ApplicationConfiguration: ClientConnectionConfigurationType { + private(set) static var shared = ApplicationConfiguration() + + var grpcMirror: ClientConnectionConfiguration = .init( + host: ClientConstants.defaultLCDHostString, + port: ClientConstants.defaultLCDPort + ) +}