mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
discordapp.com -> discord.com
This commit is contained in:
parent
4cf8c2ae92
commit
b251942e40
3 changed files with 7 additions and 7 deletions
|
@ -22,7 +22,7 @@ declare global {
|
|||
}
|
||||
}
|
||||
|
||||
const DISCORD_API_URL = "https://discordapp.com/api";
|
||||
const DISCORD_API_URL = "https://discord.com/api";
|
||||
|
||||
function simpleDiscordAPIRequest(bearerToken, path): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
@ -94,8 +94,8 @@ export function initAuth(app: express.Express) {
|
|||
passport.use(
|
||||
new OAuth2Strategy(
|
||||
{
|
||||
authorizationURL: "https://discordapp.com/api/oauth2/authorize",
|
||||
tokenURL: "https://discordapp.com/api/oauth2/token",
|
||||
authorizationURL: "https://discord.com/api/oauth2/authorize",
|
||||
tokenURL: "https://discord.com/api/oauth2/token",
|
||||
clientID: process.env.CLIENT_ID,
|
||||
clientSecret: process.env.CLIENT_SECRET,
|
||||
callbackURL: process.env.OAUTH_CALLBACK_URL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue