strichliste / strichliste-backend

Strichliste Backend
https://www.strichliste.org
Other
24 stars 14 forks source link

Improve responses for /api and / #35

Closed kmille closed 5 years ago

kmille commented 5 years ago

/api/ returns a 500 / returns a 'FrontEnd not found'

Can you please fix this

schinken commented 5 years ago

It's intended to return "Front-End not found" on / if there is none in public/.

Interestingly /api/ just returns 500 in production not in debug. There, the response is 404, as it should be. Investigating.

schinken commented 5 years ago

Ha, looks like a symfony bug:

schinken commented 5 years ago

https://demo.strichliste.org/api/ now returns 404. symfony.lock kept back my symfony 4.2 update recently... meh.

Response is now as intended. If you have any feedback for /, please go ahead