Can someone show me an exemple of a workflow that either replaces a image file in supabase or delete properly? I tried both and both didnt work at all, and yes ive checked all RLS and nothing worked for me..
thank you for your reply, but i need a REPLACE / DELETE example, not a upload, upload i managed to make it work just fine
upsert replaces if you give the same file name. Interestingly I just tested a delete that I was going to show you and it didn’t work might have been a mistake on my part as I was also deleting the row that held the reference to it. But I believe it was working in the past
Ohh, got it, i will give it a try, thank you
ok, im having issues with the path, this is what im sending “https://jrkwrxfvcbgzlkituekv.supabase.co/storage/v1/object/public/logos/logos_200825-3756.jpg” but on supabase it is creating a http folder inside a folder inside a folder
i just need to upload it to my bucket root, just a image
the “/” is telling it its a folder if just set the path to logos_200825-3756.jpg it wont have the folders
Weird, now my bucket image is the new replaced one, but in the url still shows my previous image..
@sam1 , it seems to be working now, but my image both on front end and on my bucket take ages to update properly, is that a cache issue?


