mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Enable compression
This commit is contained in:
parent
798fa1c38a
commit
38a476f7e8
@ -3,7 +3,7 @@ var compression = require('compression')
|
|||||||
|
|
||||||
var app = express();
|
var app = express();
|
||||||
|
|
||||||
//app.use(compression());
|
app.use(compression());
|
||||||
|
|
||||||
app.use('/static/js', express.static(__dirname + '/build/js'));
|
app.use('/static/js', express.static(__dirname + '/build/js'));
|
||||||
app.use('/static/css', express.static(__dirname + '/build/css'));
|
app.use('/static/css', express.static(__dirname + '/build/css'));
|
||||||
|
Loading…
Reference in New Issue
Block a user