From 274ea73e052b07a973cbcebc98329bcd7523fc42 Mon Sep 17 00:00:00 2001 From: Van Leemput Dayron Date: Fri, 6 Feb 2026 17:29:21 +0100 Subject: [PATCH] feat: Implement Content Security Policy and disable Vite HMR overlay. --- frontend/index.html | 2 ++ frontend/vite.config.ts | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/frontend/index.html b/frontend/index.html index a4ae7b8..1c926e9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -6,6 +6,8 @@ xeewy.be + diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 8b0f57b..fdc314a 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -4,4 +4,9 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + server: { + hmr: { + overlay: false + } + } })