1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

Enable compression

This commit is contained in:
vrde 2015-06-08 17:26:27 +02:00
parent 798fa1c38a
commit 38a476f7e8

View File

@ -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'));