sanity-plugin-external-files icon indicating copy to clipboard operation
sanity-plugin-external-files copied to clipboard

Firebase DAM includes File URL with token?

Open KyleSmith0905 opened this issue 2 years ago • 1 comments

I have Sanity on the client of an application, idk if that's suggested or bad.

However, the fileURL that is available as a property of Firebase-DAM has a token query parameter. I believe this query token parameter is used for firebase storage rules to authorize images. Therefore, when I allow read: if false in firebase storage, I still was able to view the image with the fileURL sent.

Could I have an option for excluding FileURL from the document, or could you guide me on where the "options" are so I could try to fix it (and submit a pull request if you would like).

KyleSmith0905 avatar May 27 '22 19:05 KyleSmith0905