From 8f4bf90334650c0536131e191a1419e9b2cbac89 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 22 Jan 2023 22:47:55 -0500 Subject: [PATCH] Fix POST response --- modules/_server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/_server.js b/modules/_server.js index 529146e..105bf07 100644 --- a/modules/_server.js +++ b/modules/_server.js @@ -35,7 +35,7 @@ app.get('/', (req, res) => { // A POST form submission to the root page app.post('/', (req, res) => { - res.render('index', { config }); + res.render('index', { config: JSON.stringify(config) }); if (req.body.start != undefined) { fn.commands.startup(); }