diff --git a/vite.config.js b/vite.config.js index e056bb2..c255f9d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -19,5 +19,10 @@ export default defineConfig({ port: 5173, strictPort: true, origin: 'http://localhost:5173', + cors: true, + hmr: { + host: 'localhost', + port: 5173, + }, }, });