aboutsummaryrefslogtreecommitdiff
path: root/api/routes/getNodeInfo
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-05-20 07:21:29 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-05-20 07:21:29 +0300
commit00573eff1569a984000dfafe8f9ccf9bcad971dd (patch)
treeeade94d49dabd1b5e535234981f11e3dca1618a6 /api/routes/getNodeInfo
parentf8e99709712c62bf9ecd125b4bd747acdced165a (diff)
downloadarching-kaos-tools-00573eff1569a984000dfafe8f9ccf9bcad971dd.tar.gz
arching-kaos-tools-00573eff1569a984000dfafe8f9ccf9bcad971dd.tar.bz2
arching-kaos-tools-00573eff1569a984000dfafe8f9ccf9bcad971dd.zip
turned ak config options to flags
Diffstat (limited to 'api/routes/getNodeInfo')
-rw-r--r--api/routes/getNodeInfo/index.js2
1 files changed, 1 insertions, 1 deletions
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;