rafgraph / spa-github-pages

Host single page apps with GitHub Pages
https://spa-github-pages.rafgraph.dev
MIT License
3.83k stars 565 forks source link

404 in public folder #70

Open uniboxx opened 1 month ago

uniboxx commented 1 month ago

For me worked only after putting 404.html in the public folder. Maybe should be the case to specify that. Using vite i have the index.html in the root folder. I dont know if it depends by that.

camkerber commented 1 month ago

I had to do the same thing to get this working.

ZacZhangzhuo commented 1 week ago

same here, took me a while to figure out and found i just neet to put 404.html in the public folder....