Enable gzip support for requests

This commit is contained in:
Cloudhunter
2023-05-31 08:32:49 +01:00
committed by bryan newbold
parent 189fdb1789
commit 6fd4101eaa
+3
View File
@@ -101,6 +101,9 @@ func serve(cctx *cli.Context) error {
RedirectCode: http.StatusFound,
}))
// enable gzip
e.Use(middleware.Gzip())
//
// configure routes
//