Use configured domain in SEO tag

This commit is contained in:
James Grugett 2022-09-11 14:10:40 -05:00
parent 1e2593894c
commit 66b63881a1

View File

@ -1,6 +1,7 @@
import { ReactNode } from 'react'
import Head from 'next/head'
import { Challenge } from 'common/challenge'
import { ENV_CONFIG } from 'common/envs/constants'
export type OgCardProps = {
question: string
@ -88,7 +89,7 @@ export function SEO(props: {
{url && (
<meta
property="og:url"
content={'https://manifold.markets' + url}
content={'https://' + ENV_CONFIG.domain + url}
key="url"
/>
)}