fix(app,handler): use real ip
All checks were successful
arcad/emissary/pipeline/head This commit looks good

This commit is contained in:
wpetit 2023-04-21 20:04:37 +02:00
parent 10844a15a3
commit 64ea0e05a9

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