Browse Source

git忽略 .env.development文件,避免报错

master_hella_20240701
yufei0306 8 months ago
parent
commit
4c906ab74b
  1. 6
      .env.development
  2. 1
      .gitignore

6
.env.development

@ -4,10 +4,10 @@ NODE_ENV=development
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://localhost:12080' VITE_BASE_URL='http://dev.ccwin-in.com:25300/api'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://192.168.0.113:12080/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH=/dev-api VITE_API_BASEPATH=/dev-api
@ -34,4 +34,4 @@ VITE_OUT_DIR=dist
VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html' VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://localhost:12080' VITE_JMREPORT_BASE_URL='http://localhost:12080'

1
.gitignore

@ -1,4 +1,5 @@
node_modules node_modules
.env.development
.DS_Store .DS_Store
dist dist
dist-ssr dist-ssr

Loading…
Cancel
Save