Adding link to gzipped data

This commit is contained in:
John Lyon-Smith
2018-04-26 18:26:55 -07:00
parent 96e2599cdb
commit 88c20e9dbf
3 changed files with 9 additions and 7 deletions

View File

@@ -178,8 +178,7 @@ export class TeamRoutes {
readable.push(null)
res.writeHead(200, {
"Content-Type": "text/html",
"Content-Encoding": "gzip",
"Content-Type": "application/gzip",
})
readable.pipe(gzip).pipe(res)
}