Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 committed Jun 19, 2024
1 parent cf4340d commit baeddfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Profile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import twitchIcon from '$lib/assets/website/icons/twitch/112.png'
const url = new URL('https://id.twitch.tv/oauth2/authorize')
url.searchParams.set('client_id', env.PUBLIC_TWITCH_CLIENT_ID)
url.searchParams.set('redirect_uri', env.PUBLIC_SIGNIN_REDIRECT_URL)
url.searchParams.set('client_id', env.PUBLIC_TWITCH_CLIENT_ID ?? '')
url.searchParams.set('redirect_uri', env.PUBLIC_SIGNIN_REDIRECT_URL ?? '')
url.searchParams.set('response_type', 'token')
url.searchParams.set('scope', 'chat:read channel:read:redemptions')
Expand Down

0 comments on commit baeddfc

Please sign in to comment.