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