diff --git a/server.js b/server.js index c53a54b..3c33eca 100644 --- a/server.js +++ b/server.js @@ -388,12 +388,12 @@ function startServer() { }); - app.get('/run-pytron-total', () => { + app.get('/run-pytron-total', (req, res) => { runPythonTotal(); res.send('Received runPythonTotal'); }); - app.get('/run-pytron', () => { + app.get('/run-pytron', (req, res) => { runPython(); res.send('Received runPython (refresh)'); });