about summary refs log tree commit diff stats
path: root/src/modules/config.js
blob: 72d1b1aba343b90cdc5ab3e43db5ac04308b36cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";

const path = require("path");
const TOML = require("toml");
const config = require("configly");

module.exports = config(
  ["./config", path.resolve(__dirname, "../../config/")],
  {
    parsers: {
      toml: TOML.parse
    }
  }
);