This commit is contained in:
2025-11-04 16:22:01 +05:00
parent 06c9ea171b
commit 033692754c

View File

@@ -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 bolmasa ochirib qoying