docs: fix image transformation url for nextjs loader (#27285)

Fix URL for NextJS loader docs
This commit is contained in:
Peter authored and GitHub committed 2024-06-24 11:34:38 -05:00
1 parent ad6bd528d7
commit efeb8239f9
1 file changed
+1 -1
@@ -303,7 +303,7 @@ To get started, create a `supabase-image-loader.js` file in your Next.js project
const projectId = '' // your supabase project id
export default function supabaseLoader({ src, width, quality }) {
return `https://${projectId}.supabase.co/storage/v1/object/public/${src}?width=${width}&quality=${quality || 75}`
return `https://${projectId}.supabase.co/storage/v1/render/image/public/${src}?width=${width}&quality=${quality || 75}`
}
```