添加模型库开发资源CORP响应头

This commit is contained in:
zhangshun
2026-05-29 12:00:14 +08:00
parent 697802a2af
commit 5d10902e10

View File

@@ -15,6 +15,9 @@ export default defineConfig({
port: 5174,
strictPort: true,
https: httpsConfig,
headers: {
"Cross-Origin-Resource-Policy": "same-site"
},
proxy: {
"/api": "http://127.0.0.1:3001",
"/storage": "http://127.0.0.1:3001"