UniverseTBD / universeTBD.github.io

Webpage of UniverseTBD
https://universetbd.org/
MIT License
0 stars 1 forks source link

Vue Router 404 error on page reload #8

Closed jcranney closed 10 months ago

jcranney commented 10 months ago

Refreshing or revisiting a url on the github pages causes a 404 error, due to the way Vue Router works. There is a simple workaround described here.

It looks like an easy fix, and I'll make the changes as soon as I get a chance, but if anyone else has time before I do then go ahead!

jcranney commented 10 months ago

ok - fixed. The fix depends on doing a cp index.html 404.html in dist before deploying, so if we automate deployment this should be including in the deploy.sh script.