diff --git a/bun.lockb b/bun.lockb index 0deb31d57..9c808c3b1 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/website/src/components/Footer.astro b/packages/website/src/components/Footer.astro index 50815a294..c9067dfce 100644 --- a/packages/website/src/components/Footer.astro +++ b/packages/website/src/components/Footer.astro @@ -136,7 +136,7 @@ const awaitedGameDefinitions = await gameDefinitions; {awaitedGameDefinitions.version} - {process.env.PUBLIC_ASSET_BRANCH} + {import.meta.env.PUBLIC_ASSET_BRANCH} @@ -152,7 +152,7 @@ const awaitedGameDefinitions = await gameDefinitions; CDN - {process.env.PUBLIC_ASSET_BRANCH} + {import.meta.env.PUBLIC_ASSET_BRANCH} diff --git a/packages/website/src/components/HomeHero.astro b/packages/website/src/components/HomeHero.astro index 73f4db226..bcc19b6ae 100644 --- a/packages/website/src/components/HomeHero.astro +++ b/packages/website/src/components/HomeHero.astro @@ -4,8 +4,8 @@ import { Code, Flex, Heading, Text } from '@radix-ui/themes'; import { BRANCH_NAMES } from '../constants/branches'; const isBranchNamed = - process.env.PUBLIC_ASSET_BRANCH && - BRANCH_NAMES[process.env.PUBLIC_ASSET_BRANCH]; + import.meta.env.PUBLIC_ASSET_BRANCH && + BRANCH_NAMES[import.meta.env.PUBLIC_ASSET_BRANCH]; ---