feat(controller,app): compress http responses
arcad/emissary/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
wpetit 2023-04-20 10:59:27 +02:00
parent 813f837291
commit bb03b3a54a
1 changed files with 1 additions and 0 deletions

View File

@ -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 {