From e0ae750c927d9aa4253d1beb77bc22e8f8988e60 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 4 Apr 2019 11:48:58 +0200 Subject: [PATCH] Fix bug --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)'); });