mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-27 07:04:07 +00:00
Missing "else"
This commit is contained in:
@@ -28,7 +28,7 @@ exports.handler = function(request,response,state) {
|
|||||||
if(err.code === "ENOENT") {
|
if(err.code === "ENOENT") {
|
||||||
status = 404;
|
status = 404;
|
||||||
content = "File '" + filename + "' not found";
|
content = "File '" + filename + "' not found";
|
||||||
} if(err.code === "EACCES") {
|
} else if(err.code === "EACCES") {
|
||||||
status = 403;
|
status = 403;
|
||||||
content = "You do not have permission to access the file '" + filename + "'";
|
content = "You do not have permission to access the file '" + filename + "'";
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user