This commit is contained in:
Acid Chicken (硫酸鶏) 2018-11-05 10:34:53 +09:00 committed by GitHub
parent e813fe16b9
commit 75791981ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ if (!config.github || !redis) {
} }
const params = { const params = {
redirect_uri: `${config.url}:8089/api/gh/cb`, redirect_uri: `${config.url}/api/gh/cb`,
scope: ['read:user'], scope: ['read:user'],
state: uuid() state: uuid()
}; };
@ -122,7 +122,7 @@ if (!config.github || !redis) {
const sessid = uuid(); const sessid = uuid();
const params = { const params = {
redirect_uri: `${config.url}:8089/api/gh/cb`, redirect_uri: `${config.url}/api/gh/cb`,
scope: ['read:user'], scope: ['read:user'],
state: uuid() state: uuid()
}; };