Skip to content

Commit fb8eec2

Browse files
fix(http-adapter): add allowAbsoluteUrls to path building (#6810)
Co-authored-by: alex-paystack <[email protected]>
1 parent 9812045 commit fb8eec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/adapters/http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
228228
}
229229

230230
// Parse url
231-
const fullPath = buildFullPath(config.baseURL, config.url);
231+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
232232
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
233233
const protocol = parsed.protocol || supportedProtocols[0];
234234

0 commit comments

Comments
 (0)