Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
392 stars 71 forks source link

feat(Tech: API): Change API responses for unknown endpoints #1307

Closed Kruptein closed 10 months ago

Kruptein commented 10 months ago

Unknown API endpoints are being handled by a catch-all route right now that is serving the main app. This is not really obvious behaviour and can be confusing when you're expecting JSON data but are suddenly receiving HTML data.

This behaviour has been changed and it now properly sends 404s.