diff --git a/.github/workflows/publish-site.yml b/.github/workflows/publish-site.yml index ef932ba..1be7eb9 100644 --- a/.github/workflows/publish-site.yml +++ b/.github/workflows/publish-site.yml @@ -55,4 +55,4 @@ jobs: steps: - id: deployment - uses: actions/deploy-pages@v3 + uses: actions/deploy-pages@v4 diff --git a/src/lib/discord.ts b/src/lib/discord.ts index b894a1b..09c0678 100644 --- a/src/lib/discord.ts +++ b/src/lib/discord.ts @@ -1,7 +1,8 @@ import Cookies from "js-cookie"; -// @ts-ignore -const clientId = import.meta.env.VITE_APP_CLIENT_ID; +const clientId = + // @ts-ignore + import.meta.env.VITE_APP_CLIENT_ID ?? process.env.VITE_APP_CLIENT_ID; const oauthScope = ["identify", "guilds", "guilds.members.read"]; const redirectUri = window.location.href;