diff --git a/vite.config.ts b/vite.config.ts index 3997973..aee23f3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,10 +4,6 @@ import path from "path"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; -const allowedHosts = ( - process.env.VITE_ALLOWED_HOSTS || "admin.simpletravel.uz" -).split(","); - export default defineConfig({ plugins: [ react(), // React uchun @@ -22,12 +18,10 @@ export default defineConfig({ server: { host: true, port: 5173, - allowedHosts, }, preview: { host: true, port: 5263, - allowedHosts, }, build: {