diff --git a/lib/apiserver/index.js b/lib/apiserver/index.js index 68e448c..81b9a89 100644 --- a/lib/apiserver/index.js +++ b/lib/apiserver/index.js @@ -88,6 +88,11 @@ async function pageHistory(req, res) { } app.use(function(req, res, next) { + if ( req && req.path && typeof req.path === 'string' && req.path.search(/\/modems\/set$/) >= 0 ) { + next(); + return; + } + logger.verbose('APISERVER: Incoming http request', { ip: req.ip, path: req.path, url: req.url }); next(); })