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