Remove unused config.js

This commit is contained in:
Tom Russell 2018-09-09 22:22:10 +01:00
parent 39e29146a1
commit 3197fd937b

View File

@ -1,18 +0,0 @@
/**
* Load config from config.json
*/
const fs = require('fs');
const path = require('path')
function read(){
const config_path = path.join(__dirname, '..', 'config.json')
return load_json(config_path)
}
function load_json(path){
return JSON.parse(fs.readFileSync(path, 'utf8'));
}
const config = read()
module.exports = config