I'm using viewer.html?file=\APICall\ and it works really well.
But sometimes server will return corrupted file or encoded file on purpose.
In that case, i want to execute window.location.href = \APICall\ to download that file.
summaries of this question) if viewer.html has any kind of error then execute window.location.href script to download directly.
can i get help?
Really appreciate of your effort that built this lib.
thanks.