stumpapp / stump

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

[BUG] Cannot read properties of undefined (reading 'includes') #356

Closed jayjoshi64 closed 6 days ago

jayjoshi64 commented 1 week ago

Describe the bug Opening links on a new browser instance fails with

Cannot read properties of undefined (reading 'includes')

The error persists even after I remove the sub-path. (/books/)

To Reproduce

  1. Open a book and copy its link.
  2. (I personally book marked it through an app)
  3. Open the link in a different browser, OR, open the link in incognito session.
  4. The error will appear

Expected behavior If the browser session is not found, the app should open the login page. It should not error out.

Screenshots

image

Desktop (please complete the following information):

Additional context Btw, "Copy Error Details" button is also not working.

aaronleopold commented 6 days ago

Resolved by #358