mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 02:33:08 +02:00
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop
This commit is contained in:
commit
11e7cfc7a0
1 changed files with 0 additions and 1 deletions
|
@ -77,7 +77,6 @@ async function accept(): Promise<void> {
|
|||
const cbUrl = new URL(props.callback);
|
||||
if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:'].includes(cbUrl.protocol)) throw new Error('invalid url');
|
||||
cbUrl.searchParams.set('session', props.session);
|
||||
console.log(cbUrl.href);
|
||||
location.href = cbUrl.href;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue