mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
oss对象本地开发跨域问题
This commit is contained in:
@@ -3,6 +3,9 @@ ENV = 'development'
|
||||
# REST API地址
|
||||
VITE_BASE_URL = '/api' # 配合vite.config.js中的代理配置解决跨域问题
|
||||
|
||||
# 本地开发OSS对象服务跨域代理标识
|
||||
VITE_OSS_CORS_FLAG = '/oss/' # 本地开发需要在vite.config.js中配置代理
|
||||
|
||||
# ws地址
|
||||
VITE_WS_URL = 'ws://localhost:8080/ws'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user