Skip to content

Download file button in dataset details page not working  #45

@Tehsurfer

Description

@Tehsurfer

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

image

Which gives error:
cors-errors

If you edit the request in firefox and resend it, it will work:
post-pennsieve-zip

zip-resp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions