From efeb8239f9ef4ad21db660d2fa76307158f76356 Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 24 Jun 2024 11:34:38 -0500 Subject: [PATCH] docs: fix image transformation url for nextjs loader (#27285) Fix URL for NextJS loader docs --- .../content/guides/storage/serving/image-transformations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/storage/serving/image-transformations.mdx b/apps/docs/content/guides/storage/serving/image-transformations.mdx index aa1e1ebfb67..f8884b90fac 100644 --- a/apps/docs/content/guides/storage/serving/image-transformations.mdx +++ b/apps/docs/content/guides/storage/serving/image-transformations.mdx @@ -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}` } ```