添加模型库开发资源CORP响应头
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user