Ploggs
Vite allowedHosts problem
In my Nuxt 3.16.1 app, i am continually getting blocked request. This host "placeholder.web.app" is not allowed.
To allow this host, add "placeholder.web.app" to
server.allowedHosts
in vite.config.js. Below is the config.
vite: {
server: {
allowedHosts: [
'placeholder.web.app'
]
}
},
Setting to 'true' also does not work. What am I missing?9 replies