Skip to content

Commit

Permalink
set metadataBase
Browse files Browse the repository at this point in the history
  • Loading branch information
loganzartman committed Nov 15, 2023
1 parent 3ea1268 commit 799fe8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ const mono = DM_Mono({
});

export const metadata: Metadata = {
metadataBase: new URL(
process.env.NODE_ENV === 'production'
? 'https://loga.nz'
: `http://localhost:${process.env.PORT || 3000}`,
),
title: 'loganz',
description: "Logan's homepage",
authors: [{name: 'Logan Zartman'}],
Expand Down

0 comments on commit 799fe8c

Please sign in to comment.