changed redirect url to https

This commit is contained in:
Sendou
2019-06-09 09:18:11 +03:00
parent fdba60d4d1
commit 7c72fbd160

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://www.sendou.ink/auth/discord/callback',
callbackURL: 'https://www.sendou.ink/auth/discord/callback',
scope: ['identify', 'connections']
},
function(accessToken, refreshToken, profile, cb) {