File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ var _ = require("lodash");
11
11
var request = require ( 'request' ) ;
12
12
var moment = require ( 'moment' ) ;
13
13
var RSS = require ( 'rss' ) ;
14
+ var wwwhisper = require ( 'connect-wwwhisper' ) ;
14
15
15
16
// config settings for the minisite
16
17
var challengesEndpoint = process . env . CHALLENGES_ENDPOINT || "http://tc-search.herokuapp.com/challenges/v2/search?q=technologies:Lightning" ;
@@ -46,6 +47,10 @@ app.engine('handlebars', hbs.engine);
46
47
app . set ( 'view engine' , 'handlebars' ) ;
47
48
app . set ( 'port' , port ) ;
48
49
50
+ // wwwhisper
51
+ app . use ( wwwhisper ( ) ) ;
52
+ // app.use(wwwhisper(false));
53
+
49
54
app . use ( favicon ( ) ) ;
50
55
app . use ( logger ( 'dev' ) ) ;
51
56
app . use ( bodyParser . json ( ) ) ;
Original file line number Diff line number Diff line change 17
17
"morgan" : " ~1.0.0" ,
18
18
"request" : " ~2.34.0" ,
19
19
"rss" : " ~0.3.2" ,
20
- "static-favicon" : " ~1.0.0"
20
+ "static-favicon" : " ~1.0.0" ,
21
+ "connect-wwwhisper" : " *"
21
22
}
22
23
}
You can’t perform that action at this time.
0 commit comments