mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
checkClientIp removed from '/plugins.json' query
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user