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 d60dd14 commit 83d3403Copy full SHA for 83d3403
addon/utils/url.js
@@ -7,7 +7,7 @@ import { isEmpty } from '@ember/utils';
7
* @param {string} url
8
*/
9
export function appendToQueryParam(urlString, param, newValue) {
10
- let url = new URL(urlString);
+ let url = new URL(urlString, document.body.baseURI);
11
if (isEmpty(newValue)) {
12
return url.href;
13
}
0 commit comments