Fix Typo Server

This commit is contained in:
2025-11-04 14:37:39 +03:00
parent 5374628b85
commit 83a29a232f
3 changed files with 4 additions and 2 deletions

View File

@@ -9,3 +9,4 @@ VITE_APP_VERSION=1.0.0
# Environment # Environment
NODE_ENV=production NODE_ENV=production

View File

@@ -8,7 +8,7 @@ services:
- VITE_APP_NAME=${VITE_APP_NAME} - VITE_APP_NAME=${VITE_APP_NAME}
container_name: simple-travel-admin container_name: simple-travel-admin
ports: ports:
- "5263:4173" - "5263:5263"
env_file: env_file:
- .env.production - .env.production
restart: unless-stopped restart: unless-stopped

View File

@@ -18,7 +18,8 @@ export default defineConfig({
server: { server: {
host: true, host: true,
port: 5173, port: 5173,
}, preview: { },
preview: {
host: true, // Production (vite preview) uchun host: true, // Production (vite preview) uchun
port: 5263, port: 5263,
allowedHosts: ["admin.simpletravel.uz"], // ✅ bu yer muhim allowedHosts: ["admin.simpletravel.uz"], // ✅ bu yer muhim