diff --git a/proxy/proxy.js b/proxy/proxy.js index ae1d77b8..02dc12c8 100755 --- a/proxy/proxy.js +++ b/proxy/proxy.js @@ -63,7 +63,7 @@ function readIP (){ log.info('Can\'t load the ips (read)'); } else { try { - bannedIPs = JSON.parse(data); + bannedIPs = data; log.info('ips updated'); } catch (exc) { log.warn(exc);