Fix Typo Server
This commit is contained in:
@@ -9,3 +9,4 @@ VITE_APP_VERSION=1.0.0
|
||||
# Environment
|
||||
NODE_ENV=production
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
- VITE_APP_NAME=${VITE_APP_NAME}
|
||||
container_name: simple-travel-admin
|
||||
ports:
|
||||
- "5263:4173"
|
||||
- "5263:5263"
|
||||
env_file:
|
||||
- .env.production
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -18,7 +18,8 @@ export default defineConfig({
|
||||
server: {
|
||||
host: true,
|
||||
port: 5173,
|
||||
}, preview: {
|
||||
},
|
||||
preview: {
|
||||
host: true, // Production (vite preview) uchun
|
||||
port: 5263,
|
||||
allowedHosts: ["admin.simpletravel.uz"], // ✅ bu yer muhim
|
||||
|
||||
Reference in New Issue
Block a user