Initial clean project import

This commit is contained in:
cat-shark
2026-06-19 18:41:41 +08:00
commit a13b804c7a
1306 changed files with 220568 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { AppConfig } from "../../../src/config";
function normalizeAuthServerUrl(apiBaseUrl: string): string {
return String(apiBaseUrl || "")
.trim()
.replace(/\/api\/?$/i, "")
.replace(/\/+$/, "");
}
export const AUTH_SERVER_URL = normalizeAuthServerUrl(
process.env.AUTH_SERVER_URL || AppConfig.apiBaseUrl || "http://152.136.232.83:3002"
);
export const USE_REMOTE_AUTH = true;