bug fix
This commit is contained in:
@@ -11,19 +11,29 @@ export default defineConfig({
|
|||||||
"@": path.resolve(__dirname, "./src"),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
server: {
|
server: {
|
||||||
host: true,
|
host: true,
|
||||||
port: 5173,
|
port: 5173,
|
||||||
allowedHosts: ["*"],
|
allowedHosts: [
|
||||||
|
"admin.simpletravel.uz",
|
||||||
|
"merchant.simpletravel.uz",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
preview: {
|
preview: {
|
||||||
host: true,
|
host: true,
|
||||||
port: 5263,
|
port: 5263,
|
||||||
allowedHosts: ["*"],
|
allowedHosts: [
|
||||||
|
"admin.simpletravel.uz",
|
||||||
|
"merchant.simpletravel.uz",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
outDir: "dist",
|
outDir: "dist",
|
||||||
sourcemap: false,
|
sourcemap: false,
|
||||||
},
|
},
|
||||||
base: "/", // ✅ assetlar to‘g‘ri yuklanadi
|
|
||||||
|
base: "/",
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user