chore: add allowedHosts to server and preview config
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user