mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-28 13:31:04 +00:00
Merge remote-tracking branch 'upstream/v8.0' into v8.0
This commit is contained in:
commit
04908b0a54
8
frontend/admin/.env
Normal file
8
frontend/admin/.env
Normal file
@ -0,0 +1,8 @@
|
||||
# 所有环境默认
|
||||
|
||||
# 页面 title
|
||||
VITE_APP_TITLE=CRMEB
|
||||
# socket 客服连接地址
|
||||
VITE_APP_WS_KEFU_URL=
|
||||
# socket 系统连接地址
|
||||
VITE_APP_WS_ADMIN_URL=
|
||||
9
frontend/admin/.env.dev
Normal file
9
frontend/admin/.env.dev
Normal file
@ -0,0 +1,9 @@
|
||||
# 接口请求地址(留空 = 同源 /adminapi,开发环境走 vite 代理到 localhost:8011)
|
||||
# 如需直连其他后端(如联调环境),取消下行注释并修改
|
||||
# VITE_APP_API_URL=https://demo.crmeb.com/adminapi
|
||||
VITE_APP_API_URL =
|
||||
# 环境
|
||||
VITE_APP_ENV = dev
|
||||
# 页面 title
|
||||
VITE_APP_TITLE = CRMEB
|
||||
VITE_APP_H5_URL = http://localhost:5173
|
||||
4
frontend/uni-app/.env
Normal file
4
frontend/uni-app/.env
Normal file
@ -0,0 +1,4 @@
|
||||
# 公共环境变量(dev / build 所有模式、所有平台生效)
|
||||
# 接口地址:留空时回退 src/config/app.js 内各端默认值(MP/APP: demo 地址,H5: 当前域名)
|
||||
# 优先级:.env.local > .env.[development|production] > .env
|
||||
UNI_APP_API_URL =
|
||||
3
frontend/uni-app/.env.development
Normal file
3
frontend/uni-app/.env.development
Normal file
@ -0,0 +1,3 @@
|
||||
# 开发环境(npm run dev:*)
|
||||
# H5 本地联调的后端地址(原 config/app.js 硬编码值迁入;小程序/APP 真机联调也走此地址)
|
||||
UNI_APP_API_URL =
|
||||
Loading…
x
Reference in New Issue
Block a user