feat: metadataBase
This commit is contained in:
@@ -24,3 +24,7 @@ APPWRITE_API_KEY=""
|
|||||||
# Prisma required variables
|
# Prisma required variables
|
||||||
|
|
||||||
DATABASE_URL=""
|
DATABASE_URL=""
|
||||||
|
|
||||||
|
# Website Variables
|
||||||
|
|
||||||
|
NEXT_PUBLIC_SITE_URL="https://entgamers.com"
|
||||||
+2
-1
@@ -18,7 +18,8 @@ config.autoAddCss = false
|
|||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'Home | EntGamers',
|
title: 'Home | EntGamers',
|
||||||
description: 'Una comunidad de jugadores, para jugadores'
|
description: 'Una comunidad de jugadores, para jugadores',
|
||||||
|
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'https://entgamers.pro')
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RootLayoutProps {
|
interface RootLayoutProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user