I’ve been working on a Q2 plugin tutorial, and wanted to include direct links on view.qiime2.org to some of the artifacts used in the tutuorial. Some of these artifacts are hosted on GitHub Pages, which is apparently supported by q2view. (Here’s a link to one such artifact—it’s an Emperor biplot produced by DEICODE.)
In the past, directly loading these artifacts on q2view via a URL worked fine. However, it looks like this isn’t working any more? When I try to load the biplot.qzv file in q2view now, I get an error from q2view that says
TypeError: Failed to fetch. (I’m pretty sure this used to work )
Weirdly enough, if you load these files from raw.githubusercontent.com in q2view, it works fine—see here for a link to the biplot on raw.githubusercontent.com, and here for a q2view link that loads the QZV file from that URL (this loads fine in q2view for me).
I figure this is likely a CORS/header issue, but it seems like it might be relevant for y’all. If GitHub Pages changed something up with their default headers, it might be worth updating the “Known Supported Websites” list on q2view.