feat: update configuration to include KOMARI_BASE_URL and enhance globe point handling

This commit is contained in:
2026-08-20 21:41:51 +08:00
parent df426c95e0
commit 858f28323e
4 changed files with 78 additions and 39 deletions
+1
View File
@@ -112,6 +112,7 @@ export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
const variant = resolveVariant(process.env.SITE_VARIANT ?? env.SITE_VARIANT);
const nodeLocationOptions = {
komariBaseUrl: process.env.KOMARI_BASE_URL ?? env.KOMARI_BASE_URL ?? "https://ops.zhouhaoze.top",
komariApiKey: process.env.KOMARI_API_KEY ?? env.KOMARI_API_KEY,
};