corrected callbackURL

This commit is contained in:
Sendou
2019-06-09 09:15:33 +03:00
parent c213d769b3
commit fdba60d4d1

View File

@@ -22,7 +22,7 @@ mongoose.set('useCreateIndex', true)
passport.use(new DiscordStrategy({
clientID: process.env.CLIENT_ID,
clientSecret: process.env.CLIENT_SECRET,
callbackURL: 'http://localhost:3001/auth/discord/callback',
callbackURL: 'http://www.sendou.ink/auth/discord/callback',
scope: ['identify', 'connections']
},
function(accessToken, refreshToken, profile, cb) {