diff --git a/public/index.html b/public/index.html index d92b956..8421462 100644 --- a/public/index.html +++ b/public/index.html @@ -43,7 +43,7 @@ border-radius: 4px; text-align: center; - font-size: 40px; + font-size: 55px; } .state_display h4 { position: absolute; diff --git a/server.js b/server.js index 5ac06b6..f23b245 100644 --- a/server.js +++ b/server.js @@ -26,7 +26,7 @@ app.get('/state', function(req, res) { app.post('/on', function (req, res) { console.log("Got a POST request for ON"); - PythonShell.run('led-csid0-on.py', function (err) { + PythonShell.run('pyscripts/led-csid0-on.py', function (err) { if (err) throw err; console.log('finished'); }); @@ -36,7 +36,7 @@ app.post('/on', function (req, res) { app.post('/off', function (req, res) { console.log("Got a POST request for OFF"); - PythonShell.run('led-csid0-off.py', function (err) { + PythonShell.run('pyscripts/led-csid0-off.py', function (err) { if (err) throw err; console.log('finished'); });