0

I try to use regex that not contain url prefix /token like this

    beego.InsertFilter("^((?!token).)*$",beego.BeforeRouter,token_construct.APIBaiscAuth("ok","ok"))

But not work, all url prefix still skip the filter function.

How to use regex in this function

Muhamad Yulianto
  • 1,573
  • 3
  • 22
  • 32

0 Answers0