alexkirsz / image-website

MIT License
3 stars 1 forks source link

Direct 404s are broken #8

Open alexkirsz opened 5 years ago

alexkirsz commented 5 years ago

404s generated from the outside (for instance, by directly changing the URL or following a link from another site) are broken. However, no error is logged from the console.

I'm guessing this has to do with rehydration somehow failing and Gatsby being confused as to how it got here. Unfortunately, I haven't found a way to reproduce this issue locally. It might be due to how Netlify itself handles redirects.

alexkirsz commented 5 years ago

Looks like https://github.com/gatsbyjs/gatsby/issues/11453, investigating.

alexkirsz commented 5 years ago

Might be the same issue, since we always link to paths without the trailing slash. Removing trailing slashes altogether doesn't fix the issue however.