Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop

This commit is contained in:
Mar0xy 2023-11-03 13:25:12 +01:00
commit 11e7cfc7a0
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 0 additions and 1 deletions

View File

@ -77,7 +77,6 @@ async function accept(): Promise<void> {
const cbUrl = new URL(props.callback); const cbUrl = new URL(props.callback);
if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:'].includes(cbUrl.protocol)) throw new Error('invalid url'); if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:'].includes(cbUrl.protocol)) throw new Error('invalid url');
cbUrl.searchParams.set('session', props.session); cbUrl.searchParams.set('session', props.session);
console.log(cbUrl.href);
location.href = cbUrl.href; location.href = cbUrl.href;
} }
} }