diff --git a/web/vite.config.ts b/web/vite.config.ts index 02efba9..3d1c030 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -9,6 +9,8 @@ const apiTarget = `http://localhost:${process.env.BACKEND_PORT ?? 8080}`; export default defineConfig({ plugins: [preact(), tailwindcss()], server: { + // стейджинг смотрит доменом на vite — пускаем свой duckdns (точка = любые поддомены) + allowedHosts: [".alexey-homelab.duckdns.org"], proxy: { // Connect RPC calls in dev go straight to the Go server. "/homelab.v1.HomelabService": apiTarget,