Skip to content

Commit

Permalink
authentifizierung erweitert
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan committed Dec 6, 2012
1 parent 50a96a5 commit e6d9c8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.js
Expand Up @@ -122,9 +122,9 @@ app.listen( port );


app.get('/', ensureAuthenticated, indexRequest);
app.get('/index', indexRequest);
app.get('/edit', indexRequest);
app.get('/overview', indexRequest);
app.get('/index', ensureAuthenticated, indexRequest);
app.get('/edit', ensureAuthenticated, indexRequest);
app.get('/overview', ensureAuthenticated, indexRequest);

app.get('/upload', function indexRequest (req, res){
res.writeHead(200, {'Content-Type': 'text/html'});
Expand Down

0 comments on commit e6d9c8f

Please sign in to comment.