validate environment variables at build time

This commit is contained in:
jake committed 2025-04-09 09:11:18 -04:00
1 parent 84702aeab1
commit eb92e54fd6
23 files changed
+150 -60

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ import { SkipToContentLink, SkipToContentTarget } from "../components/SkipToCont
import { setRootCssVariables } from "../lib/helpers/styles";
import * as config from "../lib/config";
import { BASE_URL, MAX_WIDTH } from "../lib/config/constants";
import defaultMetadata from "../lib/config/metadata";
import defaultMetadata from "../lib/config/seo";
import type { Metadata } from "next";
import type { Person, WebSite } from "schema-dts";
@@ -41,7 +41,7 @@ const RootLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
height: `${ogImage.height}`,
},
sameAs: [
BASE_URL,
`${BASE_URL}`,
`https://${config.authorSocial?.mastodon}`,
`https://github.com/${config.authorSocial?.github}`,
`https://bsky.app/profile/${config.authorSocial?.bluesky}`,