Fix POST response

This commit is contained in:
Skylar Grant 2023-01-22 22:47:55 -05:00
parent 5c852f2c97
commit 8f4bf90334

View File

@ -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();
}