From a77d45936c24f4599849970b343143bd6ea13d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20Krau=C3=9Fer?= Date: Mon, 4 May 2026 03:41:02 +0200 Subject: [PATCH] fixed config bug --- cnn_website/vite.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cnn_website/vite.config.js b/cnn_website/vite.config.js index 00780f2..a2b680a 100644 --- a/cnn_website/vite.config.js +++ b/cnn_website/vite.config.js @@ -5,8 +5,10 @@ import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { - allowedHosts: [ + allowedHosts: "all" - ] + }, + preview: { + allowedHosts: "all" } })