Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
lib/apiserver/index.js
... | ... | @@ -88,6 +88,11 @@ async function pageHistory(req, res) { |
88 | 88 | } |
89 | 89 | |
90 | 90 | app.use(function(req, res, next) { |
91 | + if ( req && req.path && typeof req.path === 'string' && req.path.search(/\/modems\/set$/) >= 0 ) { | |
92 | + next(); | |
93 | + return; | |
94 | + } | |
95 | + | |
91 | 96 | logger.verbose('APISERVER: Incoming http request', { ip: req.ip, path: req.path, url: req.url }); |
92 | 97 | next(); |
93 | 98 | }) |
package-lock.json