websocket 重新封装

(cherry picked from commit 1744c6ec6f)
This commit is contained in:
YunaiV
2023-11-24 00:33:05 +08:00
committed by shizhong
parent 79319d3dc8
commit aee411607f
5 changed files with 127 additions and 43 deletions

View File

@ -4,10 +4,10 @@ NODE_ENV=development
VITE_DEV=true
# 请求路径
VITE_BASE_URL='http://localhost:48080'
VITE_BASE_URL='http://127.0.0.1:48080'
# 上传路径
VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://127.0.0.1:48080/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=/dev-api