Merge pull request #8994 from jitsi/tavram/fix-query-params
fix(sip-invite) do not send query params on sip invite request
This commit is contained in:
commit
58be0f6914
|
@ -827,7 +827,10 @@ export function inviteSipEndpoints( // eslint-disable-line max-params
|
|||
return Promise.resolve();
|
||||
}
|
||||
|
||||
const baseUrl = locationURL.href.toLowerCase().replace(`/${roomName}`, '');
|
||||
const baseUrl = Object.assign(new URL(locationURL.toString()), {
|
||||
pathname: locationURL.pathname.replace(`/${roomName}`, ''),
|
||||
search: ''
|
||||
});
|
||||
|
||||
return fetch(
|
||||
sipInviteUrl,
|
||||
|
|
Loading…
Reference in New Issue