Static GitHub Issues

[2064] path variable 404

prev: head () doesn't work properly in Page Components on initial page load (default tags are rendered)
next: How to implement redirection to a page that the user had previously, if the page to which he passed does not exist

Hi,

I have a js file in which I try to set a path variable like:

const MANIFEST = {
 path: 'assets/something/',
}

However, whatever I put as the path it always ends in 404's, even tho the path that is output looks correct to me like:

http://localhost:3000/assets/something/....

Any idea why?

<!--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/c1831">#c1831</a>)</em></sub></div>