1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-11 21:29:08 +09:00

Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2018-11-05 10:40:15 +09:00
commit a86c419f95
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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()
}; };