stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
938 stars 43 forks source link

:bug: Fix first visit API URL determination #358

Closed aaronleopold closed 3 months ago

aaronleopold commented 3 months ago

Fixes #356

The root cause seems to be that, when in an unauthenticated state, the initial visit to a non-root route would initialize the API URL incorrectly to include the pathname. This was a quick lunch fix, so I'll merge it either after work today or tomorrow