From edad269516d958d6dc42ef0a674ba00430207856 Mon Sep 17 00:00:00 2001 From: PAW122 <70094237+PAW122@users.noreply.github.com> Date: Thu, 12 Dec 2024 08:40:17 +0100 Subject: [PATCH] link fix --- api/webpanel/config/public.js | 2 +- config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/webpanel/config/public.js b/api/webpanel/config/public.js index 18bfd00..0b9b985 100644 --- a/api/webpanel/config/public.js +++ b/api/webpanel/config/public.js @@ -1,4 +1,4 @@ export const BotInviteURL = "bot invite URL" -export const AuthURL = "https://discord.com/oauth2/authorize?client_id=928399458570502155&response_type=code&redirect_uri=https%3A%2F%2Fsenko.tsunamistudio.net%2F&scope=identify+email+guilds" +export const AuthURL = "https://discord.com/api/oauth2/authorize?client_id=928399458570502155&response_type=token&redirect_uri=https%3A%2F%2Fsenko.tsunamistudio.net%2F&scope=identify+guilds+email" export const MainURL = "https://senko.tsunamistudio.net" diff --git a/config.json b/config.json index a040e44..a0a8bda 100644 --- a/config.json +++ b/config.json @@ -7,7 +7,7 @@ "prefix": ".", "creationDate": [2023, 12, 21], "main_url": "https://senko.tsunamistudio.net/", - "web_link": "https://discord.com/oauth2/authorize?client_id=928399458570502155&response_type=code&redirect_uri=https%3A%2F%2Fsenko.tsunamistudio.net%2F&scope=identify+email+guilds", + "web_link": "https://discord.com/api/oauth2/authorize?client_id=928399458570502155&response_type=token&redirect_uri=https%3A%2F%2Fsenko.tsunamistudio.net%2F&scope=identify+guilds+email", "port": 3000, "api_max_listeners": 0, "audio_port": 3001,