diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..f94b9b3 --- /dev/null +++ b/.env.development @@ -0,0 +1,21 @@ +# 应用端口 +VITE_APP_PORT=3000 + +# 代理前缀 +VITE_APP_BASE_API=/dev-api + +# 接口地址 + +# VITE_APP_API_URL=https://tapi.cashier.sxczgkj.cn/ # 测试 +VITE_APP_API_URL=https://cashier.sxczgkj.com/ # 正式 +# VITE_APP_API_URL=http://192.168.1.31/ # 本地 + + +# WebSocket 端点(不配置则关闭),线上 ws://api.youlai.tech/ws ,本地 ws://localhost:8989/ws +# VITE_APP_WS_ENDPOINT=wss://sockets.sxczgkj.com/wss +VITE_APP_WS_ENDPOINT=wss://czgeatws.sxczgkj.com/wss # 正式 +# VITE_APP_WS_ENDPOINT=ws://192.168.1.31 # 本地 + + +# 启用 Mock 服务 +VITE_MOCK_DEV_SERVER=false diff --git a/.gitignore b/.gitignore index b78af96..dccd5ce 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,3 @@ dist-ssr stats.html pnpm-lock.yaml package-lock.json -.env.development \ No newline at end of file