Skip to content

Commit

Permalink
Resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Tit Petric committed Nov 6, 2023
1 parent 038b131 commit 3572a51
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gateway/api_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,6 @@ func (gw *Gateway) loadHTTPService(spec *APISpec, apisByListen map[string]int, g
spec.Proxy.ListenPath,
}

<<<<<<< HEAD
// Register routes for each prefixe
for _, prefix := range prefixes {
subrouter := router.PathPrefix(prefix).Subrouter()
Expand All @@ -767,10 +766,6 @@ func (gw *Gateway) loadHTTPService(spec *APISpec, apisByListen map[string]int, g
// Attach handlers
subrouter.NewRoute().Handler(httpHandler)
}
=======
httpHandler := explicitRouteSubpaths(spec.Proxy.ListenPath, chainObj.ThisHandler, gwConfig.HttpServerOptions.EnableStrictRoutes)
subrouter.NewRoute().Handler(httpHandler)
>>>>>>> 213ac5b3... [TT-9924]remove muxer, proxy from explicitRouteHandler (#5482)

return chainObj
}
Expand Down

0 comments on commit 3572a51

Please sign in to comment.