Skip to content

Commit 50d39cc

Browse files
committed
Add gzip compression.
1 parent bb8dfd5 commit 50d39cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ var t0 = Date.now();
22

33
var express = require("express"),
44
cors = require("connect-cors"),
5-
bibref = require('./lib/bibref');
5+
bibref = require('./lib/bibref'),
66
XREFS = require('./xrefs');
77

88
var app = module.exports = express();
99

1010
// Configuration
1111
app.configure(function(){
12+
app.use(express.compress());
1213
app.use(cors());
1314
app.use(express.bodyParser());
1415
app.use(app.router);

0 commit comments

Comments
 (0)