JavaScript: Retrieve public URL

Examples

Returns the URL for an asset in a public bucket

const \{ publicURL, error \} = supabase
  .storage
  .from('public-bucket')
  .getPublicUrl('folder/avatar1.png')