From 605077071ecd1e3d2682271f9f241959651fe200 Mon Sep 17 00:00:00 2001 From: Stefano Galiffa Date: Mon, 3 Jun 2024 10:38:34 +0100 Subject: [PATCH] Update env variable --- app/layout.tsx | 2 +- app/robots.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 3e43548..afdec7a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -22,7 +22,7 @@ const gochiHand = Gochi_Hand({ const { TWITTER_CREATOR, TWITTER_SITE, SITE_NAME } = process.env; const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL - ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}` + ? `https://panini-cake.vercel.app` : 'http://localhost:3000'; const twitterCreator = TWITTER_CREATOR ? ensureStartsWith(TWITTER_CREATOR, '@') : undefined; const twitterSite = TWITTER_SITE ? ensureStartsWith(TWITTER_SITE, 'https://') : undefined; diff --git a/app/robots.ts b/app/robots.ts index c9849a2..5fa0e16 100644 --- a/app/robots.ts +++ b/app/robots.ts @@ -1,5 +1,5 @@ const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL - ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}` + ? `https://panini-cake.vercel.app` : 'http://localhost:3000'; export default function robots() {