fix: add support for non-standard ports in opengroupv2

This commit is contained in:
jubb
2021-05-04 15:52:08 +10:00
parent f3fa8626ed
commit d8e9e372d3
2 changed files with 7 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ object OpenGroupAPIV2 {
val urlBuilder = HttpUrl.Builder()
.scheme(parsed.scheme())
.host(parsed.host())
.port(parsed.port())
.addPathSegments(request.endpoint)
if (request.verb == GET) {