Skip to content

CORS failure when downloading image from S3 #77

@allgood

Description

@allgood

Tested with backblaze, if I show an image from a public bucket it is correctly shown because it is used on an <img> tag, but when trying to download, the fetch() instruction fails because the previously cached response from the server doesn't have the CORS headers.

The solution seens to be adding a cache busting element on the image forcing the browser to ignore cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions