From f32e7a27ae814fa0bc8855cc2a2c3b4afaad7869 Mon Sep 17 00:00:00 2001 From: IvanCodeslol Date: Fri, 24 Jan 2025 23:22:28 +0200 Subject: [PATCH] fix: enable strictPort for vite to prevent CORS error --- vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 0d707ee..705e1c5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,4 +7,7 @@ export default defineConfig({ optimizeDeps: { exclude: [], }, + server: { + strictPort: true + } });