Download file button in dataset details page is not working. Seems to throw a CORS error when calling https://api.pennsieve.io/zipit/discover
Try this by hitting download file here:
https://sparc.science/datasets/137?type=dataset

Which gives error:

If you edit the request in firefox and resend it, it will work:


My proposed solution would be to add https:/sparc.science and https://staging.sparc.science to Access-Control-Allow-Origin on api.pennsieve
Download file button in dataset details page is not working. Seems to throw a CORS error when calling https://api.pennsieve.io/zipit/discover
Try this by hitting download file here:
https://sparc.science/datasets/137?type=dataset
Which gives error:

If you edit the request in firefox and resend it, it will work:

My proposed solution would be to add https:/sparc.science and https://staging.sparc.science to
Access-Control-Allow-Originon api.pennsieve