mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
update default redirectUri
This commit is contained in:
@@ -59,7 +59,7 @@ function decrypt(text) {
|
|||||||
// 创建 OAuth2 客户端
|
// 创建 OAuth2 客户端
|
||||||
function createOAuth2Client(redirectUri = null) {
|
function createOAuth2Client(redirectUri = null) {
|
||||||
// 如果没有提供 redirectUri,使用默认值
|
// 如果没有提供 redirectUri,使用默认值
|
||||||
const uri = redirectUri || 'http://localhost:8085';
|
const uri = redirectUri || 'http://localhost:45462';
|
||||||
return new OAuth2Client(
|
return new OAuth2Client(
|
||||||
OAUTH_CLIENT_ID,
|
OAUTH_CLIENT_ID,
|
||||||
OAUTH_CLIENT_SECRET,
|
OAUTH_CLIENT_SECRET,
|
||||||
|
|||||||
Reference in New Issue
Block a user