-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b59a17
commit fe8f8f1
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
# 应用端口 | ||
VITE_APP_PORT=3000 | ||
|
||
# 代理前缀 | ||
VITE_APP_BASE_API = '/prod-api' | ||
VITE_APP_BASE_API=/dev-api | ||
|
||
# 接口地址 | ||
#VITE_APP_API_URL=https://api.youlai.tech # 线上 | ||
VITE_APP_API_URL=http://localhost:8989 # 本地 | ||
|
||
# WebSocket 端点(不配置则关闭),线上 ws://api.youlai.tech/ws ,本地 ws://localhost:8989/ws | ||
VITE_APP_WS_ENDPOINT= | ||
|
||
# WebSocket端点(可选) | ||
VITE_APP_WS_ENDPOINT=wss://api.youlai.tech/ws | ||
# 启用 Mock 服务 | ||
VITE_MOCK_DEV_SERVER=false |