exlibris-fed / exlibris

MIT License
4 stars 0 forks source link

Fixing routing issue (closes #100) #118

Closed Sigafoos closed 3 years ago

Sigafoos commented 3 years ago

The go router was rerouting /(.*) to /dist/$1: the problem is that urls like /book/OL20639540W would route to /dist/book/OL20639540W, which obviously doesn't exist.

This makes the router handle the SPA properly, following the example in the mux documentation more or less exactly.