diff --git a/views/js/mainRender.js b/views/js/mainRender.js index 251e6f1..2ffeb9f 100644 --- a/views/js/mainRender.js +++ b/views/js/mainRender.js @@ -71,14 +71,14 @@ onload = () => { const whiteList = [ 'PATCH', // Mute/Unmute/notification/cosmetic guild changes 'DELETE', // Leaving a guild / Deleting messages - 'https://discord.com/api/v8/channels/', // Text channel address - 'https://discord.com/api/v8/auth/login', // Login address - 'https://discord.com/api/v8/invites/', // Accepting guild invite - 'https://discord.com/api/v8/voice/regions', // Required when creating new guild - 'https://discord.com/api/v8/guilds', // Creating a guild - 'https://discord.com/api/v8/gateway', // This may be required to get past login screen if not cached locally - 'https://discord.com/api/v8/applications/', - 'https://discord.com/api/v8/users/' + 'https://discord.com/api/v9/channels/', // Text channel address + 'https://discord.com/api/v9/auth/login', // Login address + 'https://discord.com/api/v9/invites/', // Accepting guild invite + 'https://discord.com/api/v9/voice/regions', // Required when creating new guild + 'https://discord.com/api/v9/guilds', // Creating a guild + 'https://discord.com/api/v9/gateway', // This may be required to get past login screen if not cached locally + 'https://discord.com/api/v9/applications/', + 'https://discord.com/api/v9/users/' ] const _whiteList = convertObjToString(whiteList)