mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
Merge pull request #12876 from supabase/fix-encodeURIComponent
Fix: og image links
This commit is contained in:
1 file changed
+1
-1
@@ -67,7 +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 = encodeURIComponent(
|
||||
const ogImageUrl = encodeURI(
|
||||
`https://obuldanrptloktxcffvn.functions.supabase.co/og-images?site=docs${
|
||||
ogPageType ? `&type=${ogPageType}` : ''
|
||||
}&title=${props.meta?.title}&description=${props.meta?.description}`
|
||||
|
||||
Reference in new issue
Block a user