feat(http): baseUrl 对接 VITE_SERVER_BASEURL

This commit is contained in:
Burt
2023-12-23 12:10:45 +08:00
parent 16fcb3f4eb
commit 6abe1fff9e
6 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
NODE_ENV = 'development'
VITE_API_SERVER = 'http://localhost:4000'
VITE_SERVER_BASEURL = 'http://localhost:4000'
# 是否去除console 和 debugger
VITE_DELETE_CONSOLE = false