feat(cli,app): compress http responses
All checks were successful
arcad/edge/pipeline/head This commit looks good
All checks were successful
arcad/edge/pipeline/head This commit looks good
This commit is contained in:
parent
b5b4042cc7
commit
c7b639b643
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user