Hi !
I’m creating a user profile, I want my user to be able to upload a logo.
I’m using a supabase bucket to store the image. So far, uploading the image works fine.
Trying to get the public url back is not working.
Basically, if I get the public url from directly from supabase dashboard, I get this and it works fine :
“https://woturpbyqhwegbzwrjra.supabase.co/storage/v1/object/public/logo-bucket/logo_932c9551-c52a-424f-986c-e4b52900e0cb_10186540_quality_badge_ribbon_award_best_icon.png”
If I use the GetPublicUrl method in weweb, I get this and it doesn’t work :
“https://woturpbyqhwegbzwrjra.supabase.co/storage/v1/render/image/public/logo-bucket/logo_932c9551-c52a-424f-986c-e4b52900e0cb_10186540_quality_badge_ribbon_award_best_icon.png”
The difference is that the weweb method returns from the “render/image” directory instead of the object/public directory.
Why is that ? Am I missing something ?
Thanks