Update to Vite 6 (HMR issue fixed by adding permissive CORS rules)

This commit is contained in:
cte
2025-01-30 22:16:22 -08:00
parent b5340915f7
commit eefb7218d9
4 changed files with 40 additions and 444 deletions

View File

@@ -27,5 +27,10 @@ export default defineConfig({
host: "localhost",
protocol: "ws",
},
cors: {
origin: "*",
methods: "*",
allowedHeaders: "*",
},
},
})