node-http-server
/src/handler.js |
---|
@@ -179,6 +179,7 @@ |
path.resolve(root, trimmedPath); |
fs.realpath(requestPath, (error, resolvedPath) => { |
// If the path does not exist, then return early. |
if (error) { |
callback('Unknown path requested: ' + |
requestAddress.address + ':' + |