I got a page with this code
asyncData ({ req }) {
return {
ua: req.headers['user-agent'] || 'unknown'
}
}
If I load this page directly in the browser (from server) - it works. But is I route there on client I got 404 error.
Any reason why this happening?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1612">#c1612</a>)</em></sub></div>