News for hackers. Stuff that matters.
Re:Apple's DocC is excellent, but unusable for open source p... by djxfade on Wednesday June 30, 2021 @06:30AM (#27686914)
I have hacked "URL rewriting" on Github, bu having a custom 404 page, that rewrites the URL as a query parameter. And then in the app just use the history api to take that query paramenter and replace history without an actual reload.
Re:Apple's DocC is excellent, but unusable for open source p... by tombl on Wednesday June 30, 2021 @08:07AM (#27687498)
I've deployed SPAs on GitHub Pages before, and you can just rename the index.html to 404.html and the site will function just as normal with no modifications.