aboutsummaryrefslogtreecommitdiff
path: root/api/routes
diff options
context:
space:
mode:
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({