fix(auth): Correct iFlow OAuth callback port to 11451

This commit is contained in:
hkfires
2025-10-05 18:53:22 +08:00
parent c8029b7166
commit eac8b1a27f
2 changed files with 3 additions and 2 deletions

View File

@@ -15,9 +15,10 @@ services:
- "8085:8085" - "8085:8085"
- "1455:1455" - "1455:1455"
- "54545:54545" - "54545:54545"
- "11451:11451"
volumes: volumes:
- ./config.yaml:/CLIProxyAPI/config.yaml - ./config.yaml:/CLIProxyAPI/config.yaml
- ./auths:/root/.cli-proxy-api - ./auths:/root/.cli-proxy-api
- ./logs:/CLIProxyAPI/logs - ./logs:/CLIProxyAPI/logs
- ./conv:/CLIProxyAPI/conv - ./conv:/CLIProxyAPI/conv
restart: unless-stopped restart: unless-stopped

View File

@@ -35,7 +35,7 @@ const DefaultAPIBaseURL = "https://apis.iflow.cn/v1"
const SuccessRedirectURL = iFlowSuccessRedirectURL const SuccessRedirectURL = iFlowSuccessRedirectURL
// CallbackPort defines the local port used for OAuth callbacks. // CallbackPort defines the local port used for OAuth callbacks.
const CallbackPort = 54546 const CallbackPort = 11451
// IFlowAuth encapsulates the HTTP client helpers for the OAuth flow. // IFlowAuth encapsulates the HTTP client helpers for the OAuth flow.
type IFlowAuth struct { type IFlowAuth struct {