Skip to content

Can't retrieve files uploaded to cloudflare #821

Open
@mandrade2

Description

@mandrade2

Hey I am self hosting and I get an issue when retrieving uploaded content to cloudflare R2. The issue I believe is in this line

uploadURL: response.body.Location,

I think so because the final url the frontend tries to fetch is like https://xxx.r2.cloudflarestorage.com/asset-id.mp4 but it should actually be https://xxx.r2.cloudflarestorage.com/mybucket/asset-id.mp4. The upload is works fine, i can even see the asset there in the cloudflare UI and postiz does save the asset into it's database. The issue is only when fetching the content in the UI. Haven't yet tried posting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions