From 00573eff1569a984000dfafe8f9ccf9bcad971dd Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 20 May 2024 07:21:29 +0300 Subject: turned ak config options to flags --- api/routes/getNodeInfo/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/routes/getNodeInfo/index.js b/api/routes/getNodeInfo/index.js index d87a3e7..877b55a 100644 --- a/api/routes/getNodeInfo/index.js +++ b/api/routes/getNodeInfo/index.js @@ -3,7 +3,7 @@ const akLogMessage = require('../../lib/akLogMessage'); module.exports = (req, res) => { akLogMessage('INFO', `Incoming from [${req.socket._peername.address}]:${req.socket._peername.port} @ ${req.get('host')}${req._parsedOriginalUrl.pathname}`); - const command = spawn("ak-config", ["get-published"]); + const command = spawn("ak-config", ["--get-published"]); var buffer = ""; command.stdout.on("data", data => { buffer = buffer + data; -- cgit v1.2.3