Fixed static file serving on a Raspberry Pi
This commit is contained in:
parent
8fa9b63dfc
commit
e70018ec9d
|
@ -45,7 +45,7 @@ app.get('/setMode/:mode', function(req, res)
|
|||
});
|
||||
});
|
||||
|
||||
app.use(express.static('static'));
|
||||
app.use(express.static(__dirname + '/static'));
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue