diff --git a/vite.config.ts b/vite.config.ts index 97895d8..2d42a73 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,7 +18,12 @@ export default defineConfig({ server: { host: true, port: 5173, + }, preview: { + host: true, // Production (vite preview) uchun + port: 3000, + allowedHosts: ["admin.simpletravel.uz"], // ✅ bu yer muhim }, + build: { outDir: "dist", // Vercel build chiqishini shu papkadan oladi sourcemap: false, // Agar kerak bo‘lmasa o‘chirib qo‘ying