Commit 005d613db10b0b2f40b767fa444eaefc9e766443
1 parent
9b262f47d2
Exists in
master
jangan log modems/set
Showing 1 changed file with 5 additions and 0 deletions 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 | }) |