visionmedia / page.js

Micro client-side router inspired by the Express router
http://visionmedia.github.com/page.js
7.67k stars 687 forks source link

Doesn't work with Github Pages? #577

Closed mattbruv closed 3 years ago

mattbruv commented 3 years ago

I wrote a site for a project I'm working on and used page.js with svelte. It works when I run a local dev server but when I build to github pages clicking links just 404's, even after setting ctx.handled = true in the router callback function. Does this library just not work with github pages?

mattbruv commented 3 years ago

Sorry for the lack of information, it's 01:00 right now and I'm too tired to put in a ton of effort right now. I'll update this with more info later if it's needed.