fix: change discord module ‘discordapp.com’ to ‘discord.com’ (#2117)

This commit is contained in:
Maho Hiyajo
2020-06-27 17:01:00 -04:00
committed by GitHub
parent 284f4aa25b
commit ea3962d143

View File

@@ -13,7 +13,7 @@ module.exports = {
new DiscordStrategy({
clientID: conf.clientId,
clientSecret: conf.clientSecret,
authorizationURL: 'https://discordapp.com/api/oauth2/authorize?prompt=none',
authorizationURL: 'https://discord.com/api/oauth2/authorize?prompt=none',
callbackURL: conf.callbackURL,
scope: 'identify email guilds'
}, async (accessToken, refreshToken, profile, cb) => {