Carlos Joel Lorenzo

Results 1 issues of Carlos Joel Lorenzo

``` const express = require('express'); const api = express.Router(); const ALLOWED_IPS = [ "127.0.0.1" ]; api.use((req, res, next) => { console.log(req.ip); var userIsAllowed = ALLOWED_IPS.indexOf(req.ip) !== -1; if (!userIsAllowed) {...