Skip to content

How do I restrict admin access IPs? #1180

Answered by LinkinStars
hdnauth asked this question in Q&A
Discussion options

You must be logged in to vote

@hdnauth

answerRouter.RegisterAnswerAdminAPIRouter(adminauthV1)

The admin router was registered here. So you can add a middleware here to restrict the IP.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@LinkinStars
Comment options

@hdnauth
Comment options

@LinkinStars
Comment options

Answer selected by hdnauth
@hdnauth
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants