kphurley / swlcgdb

A Deckbuilder for Star Wars: The Card Game LCG
4 stars 3 forks source link

Entering in a URL in the browser not supported in the front-end router clears the auth state #33

Closed kphurley closed 7 months ago

kphurley commented 7 months ago

Repro steps:

  1. Enter in a not-known route to the front-end
  2. A page gets rendered and the auth token is cleared out of the app state
kphurley commented 7 months ago

This is fixed. You just get a blank page with an unknown route now, and the auth isn't cleared.

A general 404 page would be better, thats really a seperate issue though.