From 5ce6f4b4a33169aa90f49ebff744906cf132e581 Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Mon, 18 Sep 2023 14:24:19 +0330 Subject: [PATCH] refactor: use getWebsiteUrl util instead of env vars in the SEO component --- src/components/SEO/SEO.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SEO/SEO.tsx b/src/components/SEO/SEO.tsx index 02743fd..a04a17c 100644 --- a/src/components/SEO/SEO.tsx +++ b/src/components/SEO/SEO.tsx @@ -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,