Skip to content

Commit

Permalink
Update env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanogali committed Jun 3, 2024
1 parent c5dbc5c commit 6050770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion app/robots.ts
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 6050770

Please sign in to comment.