hedgedoc/lib/web/note
Erik Michelson 7e597226ec
Add HTTP 404 error on non-existent note downloads
When FreeURL mode is enabled and you called the /download route, the note was created and the user redirected to the blank note.
This is caused because the findNote method automatically creates a note when no existing one is found.
This commit adds a new parameter to the findNote method which allows to disable this behaviour. In that case a HTTP 404 error will be returned.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-02-17 22:02:47 +01:00
..
actions.js Remove pdf export code 2020-11-26 21:09:23 +01:00
controller.js Add HTTP 404 error on non-existent note downloads 2021-02-17 22:02:47 +01:00
router.js Move showPublishNote and publishNoteActions to note controller 2019-10-27 15:23:38 +01:00
slide.js Inline renderPublishSlide 2019-10-27 15:50:24 +01:00
util.js Add HTTP 404 error on non-existent note downloads 2021-02-17 22:02:47 +01:00