Use Vite API base URL for web deploys

This commit is contained in:
dahyeon committed 2026-07-03 05:09:59 -07:00
1 parent f80834c6ab
commit ffcba26e64
5 files changed
+14 -2

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ function validateEnv(mode, env) {
function resolveRequiredEnvKeys(env) {
const rawKeys = env.CF_PAGES_REQUIRED_ENV_KEYS?.trim();
if (!rawKeys) return [];
if (!rawKeys) return ["VITE_API_BASE_URL"];
return rawKeys
.split(",")
.map((key) => key.trim())