mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[traffic] Default URL
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
#include "std/target_os.hpp"
|
||||
|
||||
#include "defines.hpp"
|
||||
#include "private.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -2628,7 +2629,7 @@ std::string Framework::LoadTrafficHttpUrl()
|
||||
{
|
||||
std::string url;
|
||||
if (!settings::Get(kTrafficHttpUrlKey, url))
|
||||
url = "";
|
||||
url = TRAFFIC_HTTP_URL_DEFAULT;
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,5 +8,7 @@
|
||||
#define METASERVER_URL "https://cdn-us-1.comaps.app/servers"
|
||||
#define DEFAULT_URLS_JSON "[ \"https://cdn-us-2.comaps.tech/\", \"https://comaps.firewall-gateway.de/\", \"https://cdn-us-1.comaps.app/\", \"https://cdn-fi-1.comaps.app/\", \"https://comaps-cdn.s3-website.cloud.ru/\" ]"
|
||||
#define DEFAULT_CONNECTION_CHECK_IP "151.101.195.52" // For now the IP of comaps.app (Fastly CDN)
|
||||
// TODO temporary URL, replace with final one once we have a server
|
||||
#define TRAFFIC_HTTP_URL_DEFAULT "http://traff:8080/subscription-manager"
|
||||
#define USER_BINDING_PKCS12 ""
|
||||
#define USER_BINDING_PKCS12_PASSWORD ""
|
||||
|
||||
Reference in New Issue
Block a user