mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 15:48:23 -05:00
corrected callbackURL
This commit is contained in:
2
index.js
2
index.js
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user