update CORS configuration to support multiple allowed origins

This commit is contained in:
2026-06-10 12:51:48 +02:00 Unverified
parent 234c5909f9
commit 3b9913feba
2 changed files with 69 additions and 11 deletions
+2 -2
View File
@@ -63,7 +63,7 @@
"spec_path": "build/openapi/visione.openapi.json"
},
"cors": {
"allowed_origin": "http://localhost:5173"
"allowed_origin": ["http://localhost:3000", "http://localhost:5137"]
}
}
}
}