We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5884845 commit 66f7017Copy full SHA for 66f7017
src/api/Api.js
@@ -176,7 +176,7 @@ export class Api {
176
baseUrlObj = new URL(this.baseUrl)
177
} catch (e) {
178
// if the base url cannot be constructed it is most likely due
179
- // to it being a relative path assumed to work based off of window.location.host
+ // to it being a relative path assumed to work based off of window.location.href
180
baseUrlObj = new URL(this.baseUrl, window.location.href)
181
}
182
0 commit comments