fix(app,handler): use real ip
arcad/emissary/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2023-04-21 20:04:37 +02:00
parent 10844a15a3
commit 64ea0e05a9
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ func (s *Server) Start(ctx context.Context, addr string) (err error) {
router := chi.NewRouter()
router.Use(middleware.RealIP)
router.Use(middleware.Logger)
router.Use(middleware.Compress(5))