node-http-server
/src/handler.js |
---|
@@ -82,6 +82,11 @@ |
return; |
} |
// Could not access directory index file and directory listing not allowed. |
response.statusCode = 404; |
response.end(); |
return; |
} |
// Serve the document index. |
/src/handler.js |
---|
@@ -82,6 +82,11 @@ |
return; |
} |
// Could not access directory index file and directory listing not allowed. |
response.statusCode = 404; |
response.end(); |
return; |
} |
// Serve the document index. |