feat(controller,app): compress http responses
arcad/emissary/pipeline/head Something is wrong with the build of this commit
Details
arcad/emissary/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
813f837291
commit
bb03b3a54a
|
@ -48,6 +48,7 @@ func (s *Server) Start(ctx context.Context, addr string) (err error) {
|
|||
router := chi.NewRouter()
|
||||
|
||||
router.Use(middleware.Logger)
|
||||
router.Use(middleware.Compress(5))
|
||||
|
||||
handler := edgeHTTP.NewHandler(s.handlerOptions...)
|
||||
if err := handler.Load(s.bundle); err != nil {
|
||||
|
|
Loading…
Reference in New Issue