summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/config.js18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/modules/config.js b/src/modules/config.js
index 461945d..72d1b1a 100644
--- a/src/modules/config.js
+++ b/src/modules/config.js
@@ -1,10 +1,14 @@
-'use strict'
+"use strict";
 
-const TOML = require('toml')
-const config = require('configly')
+const path = require("path");
+const TOML = require("toml");
+const config = require("configly");
 
-module.exports = config({
-  parsers: {
-    toml: TOML.parse
+module.exports = config(
+  ["./config", path.resolve(__dirname, "../../config/")],
+  {
+    parsers: {
+      toml: TOML.parse
+    }
   }
-})
+);