External download link breaks client


#1

Hello, I have a distributed service that process a file and when it finishes provides a download link to my Meteor project, that is in another subdomain.

To get to the download if I place an <A href="anotherdomain.example.com/huge.file">download</A> or a window.location = lnk; (or Router.go for that matter) I get the browser console resetted and a lot of meteor functionality goes down, some times the event listeners stop working at all.

How would a workaround of this would be? I read that I should add ‘download’ attribute to the A tag, but it behaves the same.


#2

Try adding target="_blank" to your link.


#3

That worked out perfectly. Thanks!