Compare View

switch
from
...
to
 
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 })
1 1 {
2 2 "name": "komodo-center-sms",
3   - "version": "0.9.26",
  3 + "version": "0.9.27",
4 4 "lockfileVersion": 1,
5 5 "requires": true,
6 6 "dependencies": {
1 1 {
2 2 "name": "komodo-center-sms",
3   - "version": "0.9.26",
  3 + "version": "0.9.27",
4 4 "description": "SMS center for Komodo",
5 5 "main": "index.js",
6 6 "scripts": {