mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 01:06:39 +08:00
fix(ui):环境变量
This commit is contained in:
parent
b2ff49ee94
commit
4bc1f195db
2
gpt-vue/projects/vue-admin/.env.preview
Normal file
2
gpt-vue/projects/vue-admin/.env.preview
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
VITE_PROXY_BASE_URL="/api"
|
||||||
|
VITE_TARGET_URL="http://172.22.11.2:5678"
|
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "run-p type-check \"build-only {@}\" --",
|
"build": "run-p type-check \"build-only {@}\" --",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview --mode preview",
|
||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
"type-check": "vue-tsc --build --force",
|
"type-check": "vue-tsc --build --force",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
||||||
|
Loading…
Reference in New Issue
Block a user