aboutsummaryrefslogtreecommitdiff
path: root/api/routes
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-22 19:37:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-22 19:37:37 +0300
commitf4bfb970713a9599df193bc14348e2b406165392 (patch)
treed9b302953d1a973a40a03811105266229bc1bc4e /api/routes
parent2043e733c9d1a2ad5c9f4a91a422b13656e12f05 (diff)
downloadarching-kaos-tools-f4bfb970713a9599df193bc14348e2b406165392.tar.gz
arching-kaos-tools-f4bfb970713a9599df193bc14348e2b406165392.tar.bz2
arching-kaos-tools-f4bfb970713a9599df193bc14348e2b406165392.zip
api: Gets settings from ak-settings now
Diffstat (limited to 'api/routes')
-rw-r--r--api/routes/default/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/routes/default/index.js b/api/routes/default/index.js
index 19b069b..4026c0d 100644
--- a/api/routes/default/index.js
+++ b/api/routes/default/index.js
@@ -1,4 +1,6 @@
-const settings = require('../../settings');
+const rsettings = require('../../settings');
+const settings = rsettings();
+
module.exports = (req, res) => {
res.writeHead(404, { 'Content-Type': 'application/json'});
res.end(JSON.stringify({