|
@@ -7,7 +7,7 @@
|
|
|
const ROUTER_VALUE_JSON_URL = "http://192.168.50.1:8080/current_ip.json";
|
|
const ROUTER_VALUE_JSON_URL = "http://192.168.50.1:8080/current_ip.json";
|
|
|
const SERVER_VALUE_JSON_URL = "https://git.dewofaurora.de/aurora/vmess-domain-rotator/raw/runtime-state/runtime/current_domain.json";
|
|
const SERVER_VALUE_JSON_URL = "https://git.dewofaurora.de/aurora/vmess-domain-rotator/raw/runtime-state/runtime/current_domain.json";
|
|
|
const ROUTER_MIN_SPEED_MB_PER_S = 5;
|
|
const ROUTER_MIN_SPEED_MB_PER_S = 5;
|
|
|
-const VALUE_SOURCE_MODE = "default"; // default | server_only | router_only
|
|
|
|
|
|
|
+const VALUE_SOURCE_MODE = "router_only"; // default | server_only | router_only
|
|
|
|
|
|
|
|
const NODE_NAME_REGEX = /(argo|cf|vm|优选)/i;
|
|
const NODE_NAME_REGEX = /(argo|cf|vm|优选)/i;
|
|
|
const CACHE_KEY = `vmess-domain-rotator:${VALUE_SOURCE_MODE}`;
|
|
const CACHE_KEY = `vmess-domain-rotator:${VALUE_SOURCE_MODE}`;
|