oss对象本地开发跨域问题

This commit is contained in:
bob
2025-02-24 12:30:40 +08:00
parent de37c4277b
commit 86efa2ee73
4 changed files with 13 additions and 1 deletions

View File

@@ -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'