feat(http): baseUrl 对接 VITE_SERVER_BASEURL
This commit is contained in:
2
env/.env.development
vendored
2
env/.env.development
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user