1 | # Environment
|
2 | port= 59798
|
3 |
|
4 | # Dependencies
|
5 | express= require 'express'
|
6 | turnout= require '../../'
|
7 |
|
8 | # Setup express
|
9 | app= express()
|
10 | app.use turnout blacklist:[/^secret/]
|
11 | app.use (req,res)->
|
12 | res.sendFile __dirname+'/angular-ui-router.html'
|
13 |
|
14 | # Boot
|
15 | app.listen port,->
|
16 | console.log 'listening at %s', port |
\ | No newline at end of file |