Fixed static file serving on a Raspberry Pi

This commit is contained in:
Mark van Renswoude 2017-03-27 22:30:57 +02:00
parent 8fa9b63dfc
commit e70018ec9d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ app.get('/setMode/:mode', function(req, res)
});
});
app.use(express.static('static'));
app.use(express.static(__dirname + '/static'));