Files
GEKON-SUITE-VPN/vite.config.ts
T
Gekon Dev da980c865a fix: allow custom production host in dev server
Add gekon.pvenode.ru to Vite allowedHosts so domain-based access works behind proxy/certificate setup.
2026-05-09 20:17:46 +03:00

16 lines
676 B
TypeScript

// @lovable.dev/vite-tanstack-config already includes the following — do NOT add them manually
// or the app will break with duplicate plugins:
// - tanstackStart, viteReact, tailwindcss, tsConfigPaths, cloudflare (build-only),
// componentTagger (dev-only), VITE_* env injection, @ path alias, React/TanStack dedupe,
// error logger plugins, and sandbox detection (port/host/strictPort).
// You can pass additional config via defineConfig({ vite: { ... } }) if needed.
import { defineConfig } from "@lovable.dev/vite-tanstack-config";
export default defineConfig({
vite: {
server: {
allowedHosts: ["gekon.pvenode.ru"],
},
},
});