We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89564b7 commit 71191faCopy full SHA for 71191fa
internal/server/handler.go
@@ -47,6 +47,7 @@ func newHandler(ctx context.Context, rootURL string,
47
48
router := chi.NewRouter()
49
50
+ router.Use(middleware.RealIP)
51
router.Use(middleware.Logger)
52
rootURL = strings.TrimSuffix(rootURL, "/")
53
0 commit comments