浏览代码

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

Maho Hiyajo 5 年之前
父节点
当前提交
ea3962d143
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/modules/authentication/discord/authentication.js

+ 1 - 1
server/modules/authentication/discord/authentication.js

@@ -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) => {