Commit 35fbd086 authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

config loader

parent da79d8c6
var CONFIG_PATH = './conf/config';
var cfg = require(CONFIG_PATH);
module.exports.config = require(CONFIG_PATH);
module.exports.config = cfg;
module.exports.getConfig = function(name,def){
}
module.exports.getLib = function(name){
if(name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment