Application: Move some string literal URLs to functions

This commit is contained in:
Lion Kortlepel
2021-03-18 23:30:52 +01:00
parent c372e63bd1
commit e6109c98bd
4 changed files with 8 additions and 4 deletions

View File

@@ -49,6 +49,10 @@ public:
static inline TSettings Settings {};
static std::string GetBackendUrlForAuth() { return "auth.beammp.com"; }
static std::string GetBackendHostname() { return "beammp.com"; }
static std::string GetBackendUrlForSocketIO() { return "https://backend.beammp.com"; }
private:
static inline std::string mPPS;
static std::unique_ptr<TConsole> mConsole;