diff --git a/server.js b/server.js index aaacae8..c53a54b 100644 --- a/server.js +++ b/server.js @@ -388,6 +388,16 @@ function startServer() { }); + app.get('/run-pytron-total', () => { + runPythonTotal(); + res.send('Received runPythonTotal'); + }); + + app.get('/run-pytron', () => { + runPython(); + res.send('Received runPython (refresh)'); + }); + app.use('/static', express.static('static')); app.listen(port, () => {