From 02f953ea013eecddca9b8f07a8a8303edc016add Mon Sep 17 00:00:00 2001 From: ION606 Date: Sun, 31 Jul 2022 14:32:59 +0300 Subject: [PATCH] TOKEN --- index.html | 2 +- myGuilds.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d3ca643..bd5e0cb 100644 --- a/index.html +++ b/index.html @@ -264,7 +264,7 @@ return 'https://discord.com/api/oauth2/authorize?client_id=926551095352901632&redirect_uri=http%3A%2F%2Flocalhost%3A53134%2F&response_type=token&scope=identify%20guilds'; } else { // return "https://discord.com/api/oauth2/authorize?client_id=944046902415093760&redirect_uri=https%3A%2F%2Fselmer-bot-website.herokuapp.com%2F&response_type=token&scope=identify%20guilds" - return 'https://discord.com/api/oauth2/authorize?client_id=944046902415093760&redirect_uri=http%3A%2F%2Fwww.selmerbot.com%2F&response_type=code&scope=identify%20guilds'; + return 'https://discord.com/api/oauth2/authorize?client_id=944046902415093760&redirect_uri=http%3A%2F%2Fwww.selmerbot.com%2F&response_type=token&scope=identify%20guilds'; } } diff --git a/myGuilds.html b/myGuilds.html index 657383d..6eb5305 100644 --- a/myGuilds.html +++ b/myGuilds.html @@ -95,7 +95,7 @@ xhr.open('post', 'http://www.selmerbot.com/getServer/', true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.setRequestHeader('serverNumber', guilds[i].id); - xhr.onloadend = (e) => { window.localStorage.setItem('serverInfo', (xhr.response)); window.location = 'http://www.selmerbot.com//dashboard.html'; } + xhr.onloadend = (e) => { window.localStorage.setItem('serverInfo', (xhr.response)); window.location = 'http://www.selmerbot.com/dashboard.html'; } xhr.send(); } } else {