Skip to content
Snippets Groups Projects
Commit f3150b53 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Use port in build_url function

parent d5753d2b
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ def build_url(config, endpoint: str = "") -> str:
if not config["server"]["https"]:
protocol = "http"
url = '{}://{}/{}'.format(protocol, config["server"]["address"].rstrip("/"), endpoint.lstrip("/"))
url = '{}://{}:{}/{}'.format(protocol, config["server"]["address"].rstrip("/"), config["server"]["port"], endpoint.lstrip("/"))
return url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment