This commit is contained in:
Mrx
2026-03-12 14:36:50 +08:00
parent 3f478e2ce2
commit cdd27906c4
3 changed files with 6 additions and 4 deletions

4
.env
View File

@@ -1,7 +1,7 @@
# 开发环境 - 本地后端服务器(使用 HTTP不要使用 HTTPS除非后端配置了 SSL 证书)
# VITE_API_URL=http://127.0.0.1:8888
VITE_API_URL=http://127.0.0.1:8888
# 生产环境 - 取消下面的注释并注释掉上面的开发环境配置
VITE_API_URL=https://www.onecha.cn
# VITE_API_URL=https://www.onecha.cn
VITE_API_PREFIX=/api/v1