Skip to content

johnhenry/connect-whitelist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#connect-whitelist

Only allow requests from a given list of IP addresses.

Example

var express = require('express');
var app = express();
// ...
app.use(require('connect-whitelist')(["127.0.0.1"]));
app.listen(8080);

About

Only allow requests from a given list of IP addresses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published