From f4bfb970713a9599df193bc14348e2b406165392 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 22 Jun 2024 19:37:37 +0300 Subject: api: Gets settings from ak-settings now --- api/routes/default/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'api/routes/default/index.js') 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({ -- cgit v1.2.3