Skip to content

Commit

Permalink
client ID again
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Mar 12, 2024
1 parent 9c4340e commit 38da018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:

steps:
- id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
5 changes: 3 additions & 2 deletions src/lib/discord.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 38da018

Please sign in to comment.