Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio committed Aug 12, 2023
1 parent 80d0735 commit d083bfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/js/components/pages/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,17 @@ const setupAccount = async () => {
throw new Error('You must use an https hostname');
}
console.log('before trying');
const parsedUrl = new URL(url.value!);
if (!(await appStore.checkURL(parsedUrl))) return;
console.log('before setup');
await appStore.setupAccount({
url: parsedUrl,
authorization_token: authorizationToken.value,
});
console.log('before redirect');
redirectToCollections();
} catch (e: any) {
console.log('catch');
Expand Down

0 comments on commit d083bfa

Please sign in to comment.