chore: add allowedHosts to server and preview config

This commit is contained in:
2025-03-09 14:36:45 +01:00
parent 43ef4336a6
commit c82aa23b41

View File

@ -20,9 +20,12 @@ export default defineConfig({
vite: { vite: {
plugins: [tailwindcss()], plugins: [tailwindcss()],
server: { server: {
allowedHosts: ['jleibl.net'],
port: 4321 port: 4321
}, },
preview: { preview: {
allowedHosts: ['jleibl.net'],
port: 4321 port: 4321
} }
} }