Allow prod host through vite preview

This commit is contained in:
2026-04-23 22:41:06 +04:00
parent da8a7f17a4
commit 33f52aad6c

View File

@@ -24,6 +24,10 @@ export default defineConfig({
server: { server: {
port: 3000, port: 3000,
}, },
preview: {
port: 3000,
allowedHosts: ['pca-pijac.dev.civokram.com'],
},
build: { build: {
outDir: 'node_modules/.cache/dist', outDir: 'node_modules/.cache/dist',
emptyOutDir: true, emptyOutDir: true,