File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,7 @@ import path from "path";
44
55// https://vitejs.dev/config/
66export default defineConfig ( ( { } ) => {
7- // Prefer the new NAME env; fall back to deprecated URL_ID for backwards compat
8- const deploymentName =
9- process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME ||
10- process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ;
11- // If only URL_ID is set, populate NAME for downstream code expecting it
12- if ( ! process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME && process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ) {
13- process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME = process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ;
14- }
7+ const deploymentName = process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME ;
158 const basePath = process . env . LLAMA_DEPLOY_DEPLOYMENT_BASE_PATH ;
169 const projectId = process . env . LLAMA_DEPLOY_PROJECT_ID ;
1710 const port = process . env . PORT ? Number ( process . env . PORT ) : 3000 ;
Original file line number Diff line number Diff line change @@ -4,14 +4,7 @@ import path from "path";
44
55// https://vitejs.dev/config/
66export default defineConfig ( ( { } ) => {
7- // Prefer the new NAME env; fall back to deprecated URL_ID for backwards compat
8- const deploymentName =
9- process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME ||
10- process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ;
11- // If only URL_ID is set, populate NAME for downstream code expecting it
12- if ( ! process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME && process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ) {
13- process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME = process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ;
14- }
7+ const deploymentName = process . env . LLAMA_DEPLOY_DEPLOYMENT_NAME ;
158 const basePath = process . env . LLAMA_DEPLOY_DEPLOYMENT_BASE_PATH ;
169 const projectId = process . env . LLAMA_DEPLOY_PROJECT_ID ;
1710 const port = process . env . PORT ? Number ( process . env . PORT ) : 3000 ;
You can’t perform that action at this time.
0 commit comments