Skip to content

Commit

Permalink
Update .env.production
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangqingliu88 authored Dec 17, 2024
1 parent 6b59a17 commit fe8f8f1
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .env.production
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

0 comments on commit fe8f8f1

Please sign in to comment.