Use configured domain in SEO tag
This commit is contained in:
parent
1e2593894c
commit
66b63881a1
|
@ -1,6 +1,7 @@
|
||||||
import { ReactNode } from 'react'
|
import { ReactNode } from 'react'
|
||||||
import Head from 'next/head'
|
import Head from 'next/head'
|
||||||
import { Challenge } from 'common/challenge'
|
import { Challenge } from 'common/challenge'
|
||||||
|
import { ENV_CONFIG } from 'common/envs/constants'
|
||||||
|
|
||||||
export type OgCardProps = {
|
export type OgCardProps = {
|
||||||
question: string
|
question: string
|
||||||
|
@ -88,7 +89,7 @@ export function SEO(props: {
|
||||||
{url && (
|
{url && (
|
||||||
<meta
|
<meta
|
||||||
property="og:url"
|
property="og:url"
|
||||||
content={'https://manifold.markets' + url}
|
content={'https://' + ENV_CONFIG.domain + url}
|
||||||
key="url"
|
key="url"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user