This commit is contained in:
2025-03-04 23:59:49 +08:00
parent 175e4c0d68
commit e6b7fe3848
6 changed files with 48 additions and 12 deletions

View File

@@ -35,4 +35,14 @@ export const STORAGE_KEY = {
JS: "web-js",
TAB: "web-tab",
FONTSIZE: "web-fontsize",
}
}
export const ADMIN_URL =
import.meta.env.MODE === "development"
? "http://localhost:8000/admin"
: "https://web.xuyue.cc/admin"
export const BASE_URL =
import.meta.env.MODE === "development"
? "http://localhost:8000/api"
: "https://web.xuyue.cc/api"