Middleware is called twice in Gorilla mux when StrictSlash is set to true

前端 未结 0 1985
攒了一身酷
攒了一身酷 2021-02-12 22:32

I was strangling the whole day to understand what I changed in my code and when I chain a middle-ware at the Gorilla/mux then it is called twice per request instead of once.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题