1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-13 08:16:05 +00:00

Missing "else"

This commit is contained in:
Jermolene
2018-06-21 12:41:08 +01:00
parent db000efc9e
commit 9024ab8f8e

View File

@@ -28,7 +28,7 @@ exports.handler = function(request,response,state) {
if(err.code === "ENOENT") {
status = 404;
content = "File '" + filename + "' not found";
} if(err.code === "EACCES") {
} else if(err.code === "EACCES") {
status = 403;
content = "You do not have permission to access the file '" + filename + "'";
} else {