summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorErik Michelson2021-02-17 22:02:47 +0100
committerErik Michelson2021-02-17 22:02:47 +0100
commit7e597226ecb562ae7ca70a5aec9d37c42405aa54 (patch)
treec4332e42780332dd053f0cd7f8696220f82ffd09 /webpack.config.js
parent929ceca20fd7f86959792ca0ad9386e725786915 (diff)
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions