Fix Typo Server
This commit is contained in:
@@ -9,3 +9,4 @@ VITE_APP_VERSION=1.0.0
|
|||||||
# Environment
|
# Environment
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user