Created
June 5, 2014 20:14
-
-
Save Twipped/a2c88ad91a9300ae1e79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var denyRoutes = express.Router(); | |
denyRoutes | |
.use(denyAnon) | |
.get('/listdocs', handlers.listdocs) | |
.get('/viewer', handlers.viewer) | |
.get('/viewer/:filename', handlers.viewer) | |
.get('/getdoc', handlers.getdoc) | |
.post('/savedoc', bodyParser, csrf, handlers.savedoc) | |
app.use(denyRoutes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment