luoyu 24180ef24b add README.md.
Signed-off-by: myxz2004 <mingyuxuezhang@qq.com>
2025-07-05 14:55:38 +08:00

24 lines
870 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 资源公共路径,需要以 /开头和结尾
VITE_PUBLIC_PATH = /
# 本地开发代理,可以解决跨域及多地址代理
# 如果接口地址匹配到则会转发到http://localhost:30000防止本地出现跨域问题
# 可以有多个,注意多个不能换行,否则代理将会失效
VITE_PROXY = [["/dev","http:222.184.49.22:30000"], ["/reportDev","http://222.184.49.22:32000"]]
# 是否删除Console.log
VITE_DROP_CONSOLE = false
# 接口地址
# 如果没有跨域问题,直接在这里配置即可/dev
VITE_GLOB_API_URL='http://222.184.49.22:30000'
# 报表接口/reportDev
VITE_GLOB_REPORT_API_URL='http://222.184.49.22:32000'
# WebSocket基础地址
VITE_GLOB_WEBSOCKET_URL='ws://222.184.49.22:30000'
# 接口地址前缀,有些系统所有接口地址都有前缀,可以在这里统一加,方便切换
VITE_GLOB_API_URL_PREFIX=