Skip to content

Commit

Permalink
Merge pull request #8 from Ast3r10n/hotfix/missing-port
Browse files Browse the repository at this point in the history
Add port assignment
  • Loading branch information
Ast3r10n authored Apr 20, 2020
2 parents 41b2512 + 26ea72d commit c25a014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Requests/Request.swift
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ open class Request: AbstractRequest {
var components = URLComponents()
components.scheme = configuration.requestProtocol
components.host = configuration.baseURL
components.port = configuration.port
components.path = resourcePath

if let parameters = parameters {
Expand Down

0 comments on commit c25a014

Please sign in to comment.