chore: remove console.log

This commit is contained in:
Marie 2023-11-03 00:47:36 +01:00 committed by GitHub
parent 118e1e027e
commit d3d456cca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
} }
} }