Browse Source

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

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

4
.env.development

@ -4,10 +4,10 @@ NODE_ENV=development
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

1
.gitignore

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

Loading…
Cancel
Save