Skip to content

Commit

Permalink
Add RegisterWithOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
LKaemmerling committed Dec 23, 2022
1 parent f9b420a commit 6546368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (ps *FiberPrometheus) RegisterAtWithOpts(app *fiber.App, opts RegisterOpts,
}
}
}
ctx.Status(404)
ctx.Status(200)
ctx.WriteString(reqIP)
return nil
})
Expand Down

0 comments on commit 6546368

Please sign in to comment.