(req)
| 20 | 'X-Parse-Master-Key, X-Parse-REST-API-Key, X-Parse-Javascript-Key, X-Parse-Application-Id, X-Parse-Client-Version, X-Parse-Session-Token, X-Requested-With, X-Parse-Revocable-Session, X-Parse-Request-Id, Content-Type, Pragma, Cache-Control'; |
| 21 | |
| 22 | const getMountForRequest = function (req) { |
| 23 | const mountPathLength = req.originalUrl.length - req.url.length; |
| 24 | const mountPath = req.originalUrl.slice(0, mountPathLength); |
| 25 | return req.protocol + '://' + req.get('host') + mountPath; |
| 26 | }; |
| 27 | |
| 28 | const getBlockList = (ipRangeList, store) => { |
| 29 | if (store.get('blockList')) { return store.get('blockList'); } |
no test coverage detected