diff --git a/cmd/cli/command/app/run.go b/cmd/cli/command/app/run.go index a03c4a9..571c156 100644 --- a/cmd/cli/command/app/run.go +++ b/cmd/cli/command/app/run.go @@ -221,6 +221,7 @@ func runApp(ctx context.Context, path string, address string, storageFile string router := chi.NewRouter() router.Use(middleware.Logger) + router.Use(middleware.Compress(5)) // Add app handler router.Handle("/*", handler)