Skip to content

Commit

Permalink
fix(core): 修改类型转换错误
Browse files Browse the repository at this point in the history
  • Loading branch information
BadKid90s committed Jan 22, 2024
1 parent cf75219 commit dfb0173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handler/filtering_web_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (h *FilteringWebHandler) Handle(exchange *web.ServerWebExchange) {
}

r := exchange.Attributes[util.GatewayRouteAttr]
router, ok := r.(route.Route)
router, ok := r.(*route.Route)
if !ok {
return
}
Expand Down

0 comments on commit dfb0173

Please sign in to comment.