Skip to content

Commit ca47661

Browse files
author
Sergio García Prado
committed
ISSUE #41
* Minor change (2).
1 parent f83ae39 commit ca47661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

minos/api_gateway/rest/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def orchestrate(request: web.Request) -> web.Response:
2424
discovery_port = request.app["config"].discovery.connection.port
2525

2626
verb = request.method
27-
url = str(request.rel_url.with_query({}).with_fragment(""))
27+
url = f"/{request.match_info['endpoint']}"
2828

2929
discovery_data = await discover(discovery_host, int(discovery_port), "/microservices", verb, url)
3030

0 commit comments

Comments
 (0)