diff --git a/vite.config.js b/vite.config.js index c8e79b1..521c0f4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -47,6 +47,7 @@ export default defineConfig(({ mode }) => { host: true, port: port, strictPort: true, + cors: true }, // required for in-browser template compilation