Fix ban config file path

This commit is contained in:
Shawn 2018-10-20 03:44:25 -05:00
parent 1e607d2b8a
commit 33b9aa4dff

View file

@ -24,7 +24,7 @@ const getBlockedList = require('../../controllers/api/blocked');
const getOEmbedData = require('../../controllers/api/oEmbed');
const logger = require('winston');
const ipBanFile = '../../../config/ipBan.txt';
const ipBanFile = './config/ipBan.txt';
const forbiddenMessage = '<h1>Forbidden</h1>If you are seeing this by mistake, please contact us using <a href="https://chat.lbry.io/">https://chat.lbry.io/</a>';
let ipCounts = {};