File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 28
28
"cookie-parser" : " ^1.3.5" ,
29
29
"express-session" : " ^1.11.3" ,
30
30
"errorhandler" : " ^1.4.2" ,
31
- "compression" : " ^1.5.2" ,
32
31
"composable-middleware" : " ^0.3.0" ,
33
32
"fast-json-patch" : " ^1.0.0" ,
34
33
"lodash" : " ^4.6.1" ,
54
53
"socket.io-client" : " ^1.3.5" ,
55
54
"socketio-jwt" : " ^4.2.0" ,<% } %>
56
55
"serve-favicon" : " ^2.3.0" ,
56
+ "shrink-ray" : " ^0.1.3" ,
57
57
"sprint-js" : " ~0.1.0"
58
58
},
59
59
"devDependencies" : {
Original file line number Diff line number Diff line change 7
7
import express from 'express' ;
8
8
import favicon from 'serve-favicon' ;
9
9
import morgan from 'morgan' ;
10
- import compression from 'compression ' ;
10
+ import shrinkRay from 'shrink-ray ' ;
11
11
import bodyParser from 'body-parser' ;
12
12
import methodOverride from 'method-override' ;
13
13
import cookieParser from 'cookie-parser' ;
@@ -49,7 +49,7 @@ export default function(app) {
49
49
app . engine ( 'html' , require ( 'ejs' ) . renderFile ) ;
50
50
app . set ( 'view engine' , 'html' ) ; < % } % > < % if ( filters . jade ) { % >
51
51
app . set ( 'view engine' , 'jade' ) ; < % } % >
52
- app . use ( compression ( ) ) ;
52
+ app . use ( shrinkRay ( ) ) ;
53
53
app . use ( bodyParser . urlencoded ( { extended : false } ) ) ;
54
54
app . use ( bodyParser . json ( ) ) ;
55
55
app . use ( methodOverride ( ) ) ;
You can’t perform that action at this time.
0 commit comments