feat(cli,app): compress http responses
arcad/edge/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2023-04-20 10:36:20 +02:00
parent b5b4042cc7
commit c7b639b643
1 changed files with 1 additions and 0 deletions

View File

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