From 33b9aa4dff07a331667a7fc348653733e1e62214 Mon Sep 17 00:00:00 2001 From: Shawn Date: Sat, 20 Oct 2018 03:44:25 -0500 Subject: [PATCH] Fix ban config file path --- server/routes/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/api/index.js b/server/routes/api/index.js index b4c31df9..7b5e9806 100644 --- a/server/routes/api/index.js +++ b/server/routes/api/index.js @@ -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 = '

Forbidden

If you are seeing this by mistake, please contact us using https://chat.lbry.io/'; let ipCounts = {};