Fix ban config file path
This commit is contained in:
parent
1e607d2b8a
commit
33b9aa4dff
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ const getBlockedList = require('../../controllers/api/blocked');
|
||||||
const getOEmbedData = require('../../controllers/api/oEmbed');
|
const getOEmbedData = require('../../controllers/api/oEmbed');
|
||||||
|
|
||||||
const logger = require('winston');
|
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>';
|
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 = {};
|
let ipCounts = {};
|
||||||
|
|
Loading…
Reference in a new issue