Skip to content

Commit b56faed

Browse files
committed
Fix env variable
1 parent 2c4768f commit b56faed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/seo/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Seo = ( { seo, uri } ) => {
3030
} = seo || {};
3131

3232
const currentLocation = 'undefined' !== typeof window ? window.location.origin : null;
33-
const opengraphUrl = ( process.env.NEXT_PUBLIC_NEXTJS_SITE_URL ? process.env.NEXT_PUBLIC_NEXTJS_SITE_URL : currentLocation ) + uri;
33+
const opengraphUrl = ( process.env.NEXT_PUBLIC_SITE_URL ? process.env.NEXT_PUBLIC_SITE_URL : currentLocation ) + uri;
3434

3535
return (
3636
<NextSeo

0 commit comments

Comments
 (0)