Allow prod host through vite preview
This commit is contained in:
@@ -24,6 +24,10 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
preview: {
|
||||
port: 3000,
|
||||
allowedHosts: ['pca-pijac.dev.civokram.com'],
|
||||
},
|
||||
build: {
|
||||
outDir: 'node_modules/.cache/dist',
|
||||
emptyOutDir: true,
|
||||
|
||||
Reference in New Issue
Block a user