nextstrain / nextstrain.org

The Nextstrain website
https://nextstrain.org
GNU Affero General Public License v3.0
87 stars 49 forks source link

sources/community: Restore support for datasets/narratives stored with Git LFS #659

Closed tsibley closed 1 year ago

tsibley commented 1 year ago

This partially reverts «Remove an extra layer of CORS-unfriendly indirection from "raw" GitHub URLs» (d5ad654b) by switching this source's base URL back to github.com instead of raw.githubusercontent.com.

It's important to go thru github.com and let it redirect us to the final location because GitHub serves LFS blobs on a different final domain, media.githubusercontent.com.

Related-to: https://github.com/nextstrain/nextstrain.org/pull/658 Related-to: https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000003625001

Testing

tsibley commented 1 year ago

Will merge as a hotfix after CI passes. (It works locally.)