fix(build): Types in admin-calendar, oRPC React Query Helpers in booking-status, Router-Namenskonflikt, entferne unsupported allowedHosts aus Vite
This commit is contained in:
@@ -16,7 +16,6 @@ export default defineConfig(({ mode }) => {
|
||||
host: "0.0.0.0",
|
||||
port: 5173,
|
||||
// Erlaube Zugriffe von beliebigen Hosts (lokal + Proxy/Funnel)
|
||||
allowedHosts: ["localhost", "127.0.0.1", "master11.warbler-bearded.ts.net", ".ts.net"],
|
||||
cors: true,
|
||||
// Keine explizite HMR/Origin-Konfiguration, Vite-Defaults für localhost funktionieren am stabilsten
|
||||
},
|
||||
@@ -30,8 +29,6 @@ export default defineConfig(({ mode }) => {
|
||||
// it interferes with image imports.
|
||||
exclude: [/src\/client\/.*/, ...defaultOptions.exclude],
|
||||
entry: "./src/server/index.ts",
|
||||
// Allow all hosts for Tailscale Funnel
|
||||
allowedHosts: ["localhost", "127.0.0.1", "master11.warbler-bearded.ts.net", ".ts.net"],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user