chore: env reset
parent
22b02fcc00
commit
49b7822eb9
|
@ -7,14 +7,14 @@ VITE_PUBLIC_PATH = /
|
|||
# 本地开发代理,可以解决跨域及多地址代理
|
||||
# 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题
|
||||
# 可以有多个,注意多个不能换行,否则代理将会失效
|
||||
VITE_PROXY = [["/dev-api","http://192.168.0.22:48080"],["/upload","http://192.168.0.22:48080/admin-api/infra/file/upload"]]
|
||||
VITE_PROXY = [["/dev-api","http://localhost:48080"],["/upload","http://localhost:48080/admin-api/infra/file/upload"]]
|
||||
# VITE_PROXY=[["/api","http://vben.xingyuv.com/test"]]
|
||||
|
||||
# 是否删除Console.log
|
||||
VITE_DROP_CONSOLE = false
|
||||
|
||||
# 接口地址
|
||||
VITE_GLOB_BASE_URL = "http://192.168.0.22:48080"
|
||||
VITE_GLOB_BASE_URL = "http://localhost:48080"
|
||||
# 如果没有跨域问题,直接在这里配置即可
|
||||
VITE_GLOB_API_URL = /admin-api
|
||||
|
||||
|
|
Loading…
Reference in New Issue