fixed config bug
This commit is contained in:
@@ -5,8 +5,10 @@ import react from '@vitejs/plugin-react'
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
server: {
|
server: {
|
||||||
allowedHosts: [
|
allowedHosts:
|
||||||
"all"
|
"all"
|
||||||
]
|
},
|
||||||
|
preview: {
|
||||||
|
allowedHosts: "all"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user