mirror of
https://github.com/Luzifer/anti-followbot.git
synced 2024-12-22 22:01:16 +00:00
Fix: Do not send hash in redirect_uri
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2eae3b8266
commit
09a296ea98
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -22,7 +22,7 @@ new Vue({
|
|||
|
||||
const params = new URLSearchParams()
|
||||
params.set('client_id', twitchClientID)
|
||||
params.set('redirect_uri', window.location.href)
|
||||
params.set('redirect_uri', window.location.href.split('#')[0])
|
||||
params.set('response_type', 'token')
|
||||
params.set('scope', scopes.join(' '))
|
||||
|
||||
|
|
Loading…
Reference in a new issue