Enable gzip support for requests
This commit is contained in:
committed by
bryan newbold
parent
189fdb1789
commit
6fd4101eaa
@@ -101,6 +101,9 @@ func serve(cctx *cli.Context) error {
|
||||
RedirectCode: http.StatusFound,
|
||||
}))
|
||||
|
||||
// enable gzip
|
||||
e.Use(middleware.Gzip())
|
||||
|
||||
//
|
||||
// configure routes
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user