compression on api

Enables compression for api calls
This commit is contained in:
Larry Ludlow 2017-08-23 19:40:06 -04:00 committed by GitHub
parent 8a852b82ab
commit f7499029e4
1 changed files with 2 additions and 2 deletions

View File

@ -302,8 +302,8 @@ module.exports = function(logger){
//app.get('/stats/shares/:coin', usershares);
//app.get('/stats/shares', shares);
//app.get('/payout/:address', payout);
app.use(compress());
app.get('/workers/:address', minerpage);
app.get('/:page', route);
app.get('/', route);