Skip to content

Commit

Permalink
update3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Levitas committed Jul 9, 2024
1 parent c39a843 commit 64c3378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/Finalize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,10 @@ export default defineComponent({
console.log(res)
const url = `${this.config.apihost}/download/${this.session._id}/bids/${this.ezbids.datasetDescription.Name}?token=${shortLivedJWT}`;
console.log(url)
const fullurl = new URL(url, document.baseURI).href;
window.location.href = url;
window.open('https://openneuro.org/import?url=' + encodeURI(fullurl));
} catch (e) {
Expand Down

0 comments on commit 64c3378

Please sign in to comment.