|
|
@ -4,7 +4,7 @@ function GetCurHost()
|
|
|
|
if (searchParams.has("server"))
|
|
|
|
if (searchParams.has("server"))
|
|
|
|
return searchParams.get("server");
|
|
|
|
return searchParams.get("server");
|
|
|
|
else if (globalThis.location?.hostname === "cfcad.cn" || globalThis.location?.hostname === "www.cfcad.cn")
|
|
|
|
else if (globalThis.location?.hostname === "cfcad.cn" || globalThis.location?.hostname === "www.cfcad.cn")
|
|
|
|
return "https://api.cfacd.cn";
|
|
|
|
return "https://api.cfcad.cn";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return "https://tapi.cfcad.cn:7779";
|
|
|
|
return "https://tapi.cfcad.cn:7779";
|
|
|
|
}
|
|
|
|
}
|
|
|
|