diff --git a/.env.example b/.env.example index 6e0fd0d..0d5a2cd 100644 --- a/.env.example +++ b/.env.example @@ -23,4 +23,8 @@ APPWRITE_API_KEY="" # Prisma required variables -DATABASE_URL="" \ No newline at end of file +DATABASE_URL="" + +# Website Variables + +NEXT_PUBLIC_SITE_URL="https://entgamers.com" \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8d328f5..22e9110 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -18,7 +18,8 @@ config.autoAddCss = false export const metadata: Metadata = { 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 {