Skip to content

Commit

Permalink
Revert "Suggested fix for issue fraunhoferfokus#3 - The case where ur…
Browse files Browse the repository at this point in the history
…l.pathname does not start with peer.prefix is not handled, i.e. no response is generated for this case."

This reverts commit a7e7819.
  • Loading branch information
mwittig committed Jun 10, 2015
1 parent cf8c4f9 commit f821f9c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/peer-upnp.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,11 +633,7 @@ var registerHTTPHandler = function(peer){
rsp.end("Not found");
}
}
else {
rsp.statusCode = 404;
rsp.end("Not found");
}
})
});
};
var unregisterHTTPHandler = function(peer){
if (peer.server && peer.httpHandler) {
Expand Down

0 comments on commit f821f9c

Please sign in to comment.