mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-22 06:08:15 +00:00
refactor: use getWebsiteUrl util instead of env vars in the SEO component
This commit is contained in:
parent
61162e2142
commit
5ce6f4b4a3
@ -20,7 +20,7 @@ type Metadata = {
|
||||
noIndex?: boolean
|
||||
}
|
||||
|
||||
const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? 'https://press.logos.co'
|
||||
const SITE_URL = getWebsiteUrl()
|
||||
|
||||
export default function SEO({
|
||||
title: _title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user