mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
docs: fix image transformation url for nextjs loader (#27285)
Fix URL for NextJS loader docs
This commit is contained in:
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}`
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user