checkClientIp removed from '/plugins.json' query

This commit is contained in:
konovalovsergey
2017-03-06 18:14:08 +03:00
parent fedde50e99
commit 09251d6f88

View File

@ -231,7 +231,7 @@ if (cluster.isMaster) {
res.setHeader('Content-Type', 'application/json');
res.send(JSON.stringify(data));
};
app.get('/plugins.json', utils.checkClientIp, (req, res) => {
app.get('/plugins.json', (req, res) => {
if (userPlugins && !updatePlugins) {
sendUserPlugins(res, userPlugins);
return;