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" } })