This commit is contained in:
+2
-1
@@ -53,9 +53,10 @@ const plugins = [
|
||||
|
||||
/* ── Deploy base path ── */
|
||||
const DEPLOY_ENV = process.env.DEPLOY_ENV || "production";
|
||||
const DEPLOY_PROJECT = process.env.DEPLOY_PROJECT_NAME || "b9";
|
||||
const isProd = process.env.NODE_ENV === "production";
|
||||
const deployBase = isProd
|
||||
? (DEPLOY_ENV === "test" ? "/b9/test/modern/" : "/b9/v2/modern/")
|
||||
? (DEPLOY_ENV === "test" ? `/${DEPLOY_PROJECT}/test/modern/` : `/${DEPLOY_PROJECT}/v2/modern/`)
|
||||
: "/";
|
||||
|
||||
export default defineConfig({
|
||||
|
||||
Reference in New Issue
Block a user