Skip to content

Commit d6d60ee

Browse files
committed
- Added init with baseUrl, to hopefully set the base URL that is null causing an error
1 parent 8428361 commit d6d60ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

https.ios.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

https.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function request(options: Https.HttpsRequestOptions): Promise<Https.Https
8585
}
8686

8787
let manager = AFHTTPSessionManager.manager();
88-
88+
manager.initWithBaseURL(url);
8989
manager.requestSerializer.allowsCellularAccess = true;
9090
manager.securityPolicy = (policies.secured == true) ? policies.secure : policies.def;
9191
manager.requestSerializer.timeoutInterval = 60;

0 commit comments

Comments
 (0)