Skip to content

Commit

Permalink
#0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChriD committed Jan 17, 2018
1 parent cd9dd09 commit 5e54c33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/lib.raumserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ module.exports = class Raumserver extends Raumkernel.Base
{
this.logVerbose("Request received: " + _request.method + " " + _request.url);
var parsedUrl = Url.parse(_request.url);

// simply soak up system requests of browsers or other clients
if(parsedUrl.pathname.startsWith("/favicon.ico"))
return

// if we are on the '/raumserver/controller/' or '/raumserver/data/' path we can handle the requests
// otherwise they are no requests to the raumserver.
if( parsedUrl.pathname.startsWith("/raumserver/controller/") ||
Expand Down

0 comments on commit 5e54c33

Please sign in to comment.