Skip to content

Commit

Permalink
Fix explicitRouteSubpaths invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tit Petric committed Nov 6, 2023
1 parent 3572a51 commit c8a4d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/api_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ func (gw *Gateway) loadHTTPService(spec *APISpec, apisByListen map[string]int, g
subrouter.Handle(rateLimitEndpoint, chainObj.RateLimitChain)
}

httpHandler := explicitRouteSubpaths(prefix, chainObj.ThisHandler, muxer, gwConfig.HttpServerOptions.EnableStrictRoutes)
httpHandler := explicitRouteSubpaths(prefix, chainObj.ThisHandler, gwConfig.HttpServerOptions.EnableStrictRoutes)

// Attach handlers
subrouter.NewRoute().Handler(httpHandler)
Expand Down

0 comments on commit c8a4d6a

Please sign in to comment.