Note not found page has status code 200
MaienM opened this issue · 1 comments
MaienM commented
Describe the bug
Note not found page has status code 200
.
To Reproduce
Steps to reproduce the behavior:
- Start live server.
- Go to the url of a note that does not exist.
- Get an error page.
- Notice that the status code is
200
.
Expected behavior
The error pages should have appropriate status codes. For the node not found page this should probably be 404
, for the ambiguous note probably something in the 500 range.
Desktop (please complete the following information):
- Firefox 111.0.1
- Emanote 1.0.2.0
Additional context
N/A
srid commented
Are you using the live server for serving production site (which it is not meant for)? What should happen during hot reload -- as opposed to manual page load? Anyway, this is all more a discussion for https://github.com/srid/ema