fix(app,handler): use real ip
arcad/emissary/pipeline/head This commit looks good
Details
arcad/emissary/pipeline/head This commit looks good
Details
This commit is contained in:
parent
10844a15a3
commit
64ea0e05a9
|
@ -44,6 +44,7 @@ func (s *Server) Start(ctx context.Context, addr string) (err error) {
|
||||||
|
|
||||||
router := chi.NewRouter()
|
router := chi.NewRouter()
|
||||||
|
|
||||||
|
router.Use(middleware.RealIP)
|
||||||
router.Use(middleware.Logger)
|
router.Use(middleware.Logger)
|
||||||
router.Use(middleware.Compress(5))
|
router.Use(middleware.Compress(5))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue