diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 15d1c80..c2fb710 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,12 +1,17 @@ import { defineConfig } from "vite"; import tailwindcss from "@tailwindcss/vite"; + export default defineConfig({ plugins: [tailwindcss()], - server: { + server: { host: "0.0.0.0", + allowedHosts: ["weather.the1s.de"], port: 7002, - watch: { - usePolling: true, + watch: { usePolling: true }, + hmr: { + host: "weather.the1s.de", + port: 7002, + protocol: "wss", }, }, });