Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: og image link

Isaiah Hamilton171710127226
diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsx
index d6f245d989e..3ed66fdc7fe 100644
--- a/apps/docs/layouts/guides/index.tsx
+++ b/apps/docs/layouts/guides/index.tsx
@@ -67,11 +67,7 @@ const Layout: FC<Props> = (props) => {
// page type, ie, Auth, Database, Storage etc
const ogPageType = asPath.split('/')[2]
// open graph image url constructor
- const ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.co/og-images?site=docs${
- ogPageType ? `&type=${ogPageType}` : ''
- }&title=${encodeURIComponent(props.meta?.title)}&description=${encodeURIComponent(
- props.meta?.description
- )}`
+ const ogImageUrl = encodeURI(`https://obuldanrptloktxcffvn.functions.supabase.co/og-images?site=docs${ogPageType ? `&type=${ogPageType}` : ''}&title=${props.meta?.title}&description=${props.meta?.description}`)
return (
<>