Skip to content

Commit

Permalink
Enable wwwhisper authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
wrr committed Jan 4, 2014
1 parent 6260a08 commit 46aefa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"logfmt": "~0.18.1",
"express": "~3.4.7",
"connect-wwwhisper": "*"
},
"devDependencies": {},
"optionalDependencies": {},
Expand Down
2 changes: 2 additions & 0 deletions web.js
@@ -1,8 +1,10 @@
var express = require('express');
var logfmt = require('logfmt');
var wwwhisper = require('connect-wwwhisper');
var app = express();

app.use(logfmt.requestLogger());
app.use(wwwhisper());

app.get('/', function(req, res) {
res.send('Hello World!');
Expand Down

0 comments on commit 46aefa3

Please sign in to comment.