diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index a793e81..2eafb58 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,16 +1,17 @@ import { defineConfig } from "vite"; -import react from "@vitejs/plugin-react"; -import svgr from "vite-plugin-svgr"; import tailwindcss from "@tailwindcss/vite"; export default defineConfig({ - plugins: [react(), svgr(), tailwindcss()], + plugins: [tailwindcss()], server: { host: "0.0.0.0", + allowedHosts: ["lose.the1s.de"], port: 8501, - https: true, - watch: { - usePolling: true, + watch: { usePolling: true }, + hmr: { + host: "lose.the1s.de", + port: 8501, + protocol: "wss", }, }, });