mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-23 02:35:10 +00:00
Fix #3115
This commit is contained in:
parent
e813fe16b9
commit
75791981ce
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue