From 3197fd937b24f7b25cf5caa9eaf2e33a7fd50a8b Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Sun, 9 Sep 2018 22:22:10 +0100 Subject: [PATCH] Remove unused config.js --- tileserver/config.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tileserver/config.js diff --git a/tileserver/config.js b/tileserver/config.js deleted file mode 100644 index 028dde7c..00000000 --- a/tileserver/config.js +++ /dev/null @@ -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