aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-10-18 00:58:06 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-10-18 00:58:06 +0300
commitb9845755c582792950404d1bf75905f284272a79 (patch)
tree1f7afb11fe524eda299acb4259c909e50a96cfbf /api
parentaec105078d8a1b64ca75bc3b7cb20c1d2dbbd59d (diff)
downloadarching-kaos-tools-b9845755c582792950404d1bf75905f284272a79.tar.gz
arching-kaos-tools-b9845755c582792950404d1bf75905f284272a79.tar.bz2
arching-kaos-tools-b9845755c582792950404d1bf75905f284272a79.zip
[ak] Adds verbose logging flag
Diffstat (limited to 'api')
-rwxr-xr-xapi/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/index.js b/api/index.js
index f22d448..6fd2066 100755
--- a/api/index.js
+++ b/api/index.js
@@ -1,5 +1,6 @@
const http = require("node:http");
+// Route functions
const welcomeMessage = require("./routes/default/index.js");
const getAKNSKey = require("./routes/getAKNSKey/index.js");
const getAKNSKeyFromBase = require("./routes/getAKNSKeyFromBase/index.js");
@@ -15,6 +16,7 @@ const getSlatest = require('./routes/getSLatest/index.js');
const getRemoteNodeInfo = require('./routes/getRemoteNodeInfo/index.js');
const getRemotePeers = require('./routes/getRemotePeers/index.js');
+// Libraries
const akLogMessage = require('./lib/akLogMessage');
const checkIfAllowedIP = require('./lib/checkIfAllowedIP/index.js');
const storeIncomingIP = require("./lib/storeIncomingIP/index.js");