mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-22 14:40:41 +00:00
Made regionhandler handled on http level
This commit is contained in:
@@ -27,6 +27,7 @@ public:
|
||||
RegionHandler() = delete;
|
||||
static void TopLevelDomainFailed();
|
||||
static std::string RegionToTopLevelDomain();
|
||||
static std::string RedirectURL(const std::string &URL);
|
||||
private:
|
||||
static inline unsigned int mRegionIndex { 0 };
|
||||
const static inline std::array<std::string, 2> mValidTLDs {"beammp.com", "beammp.ru"};
|
||||
|
||||
Reference in New Issue
Block a user