Skip to content

Commit

Permalink
endpoint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michealparks committed Jan 11, 2025
1 parent b4881e9 commit 65c95f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/lib/hooks/auth.svelte.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { browser } from '$app/environment'

const clientId = 'c80e549f03864691a94b026c06619501' // your clientId
const redirectUrl = 'http://localhost:5173' // your redirect URL - must be localhost URL and/or HTTPS
// your clientId
const clientId = 'c80e549f03864691a94b026c06619501'

// your redirect URL - must be localhost URL and/or HTTPS
const redirectUrl = import.meta.env.DEV
? 'http://localhost:5173'
: 'https://zesty.plus'

const authorizationEndpoint = 'https://accounts.spotify.com/authorize'
const tokenEndpoint = 'https://accounts.spotify.com/api/token'
Expand Down

0 comments on commit 65c95f3

Please sign in to comment.