Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

disablePayloadAccessControl on aws S3 #68

Answered by femkeklaver
femkeklaver asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to get it to work with including generateFileURL in the settings.

media: {
  adapter,
  generateFileURL: ({ filename, prefix }) => {
    return ['https://my-s3-settings.com', prefix, filename].filter(Boolean).join('/')
  },
},

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by femkeklaver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant