Hacker News new | ask | show | jobs
by VWWHFSfQ 1792 days ago
This direct link will 404: https://app.cinny.in/login

But if you go to the homepage (index.html) and click on Login it will do the weird little SPA routing thing and load the page correctly.

I'm guessing netlify needs to route every URL path to the index.html?

SPA apps have just fundamentally broken the web.

2 comments

No that's not a Netlify thing, it's most likely how the website is just configured.
That's not a SPA breaking the web, it's just misconfigured.
Technically yes, but the fact that SPAs require explicit and extra code/configuration to make them work when this functionality (url nav) is a works-by-default inherent part of the web's core design makes them arguably broken by design.