Bernix01 / medusa-storage-supabase

Handle file uploads with sup abase
https://www.npmjs.com/package/medusa-storage-supabase
GNU General Public License v3.0
4 stars 1 forks source link

How do you use the signed urls? #20

Closed matthewlal closed 8 months ago

matthewlal commented 9 months ago

How do you use the signed urls? I reviewed the code, I assume it's to files that are uploaded in the /private folder of the bucket? Then these files auto delete after a specific time; does MedusaJS handle this somehow perhaps through the File Service interface? Also since the bucket is public does that mean there will be 2 links for private files? 1 link that shouldn't be shared and is hard to guess, and the 1 other link being the signed url?

Bernix01 commented 9 months ago

Hello, afaik and according to what Medusa states in the docs: