Successful page load with "404 Not Found" status
ZakharDolozhevskiy opened this issue · comments
Hello,
We have SPA with react routing and it works as expected (no issues with routing, it's possible to reach all paths in the application)
But we noticed that each GET request for pages returns 404 not found but content in response is valid HTML (so the application successfully launches)
Request with error Note: In response tab we can see expected html with application entry point
The application has URLs with different levels
/fahrzeuge
/fahrzeuge/details/{int}
/profile
etc
static.json
{
"root": "dist/",
"https_only": true,
"routes": {
"/**": "index.html"
},
"clean_urls": false,
"error_page": "index.html"
}
Despite the fact that application works as expected the 404 status code error still a big issue for us. It prevents crawlers work with the website (especial from Googlebot). Please take a look at this issue and please let us know if any other information will be needed
Hello, I have the same exact problem. Any news ?
Same I've tried so many things. I dont know why it's happening now when I've done exactly the same things on other projects and they work just fine.
Hi
This buildpack is now deprecated and we are recommending people move the more actively maintained heroku-buildpack-nginx. For migration advice see here.
As such, I'm closing this issue out since we won't be making further changes to this buildpack.