diff --git a/docker-compose.yml b/docker-compose.yml index aadb5c56..753bf5c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,9 +15,10 @@ services: - "8085:8085" - "1455:1455" - "54545:54545" + - "11451:11451" volumes: - ./config.yaml:/CLIProxyAPI/config.yaml - ./auths:/root/.cli-proxy-api - ./logs:/CLIProxyAPI/logs - ./conv:/CLIProxyAPI/conv - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/internal/auth/iflow/iflow_auth.go b/internal/auth/iflow/iflow_auth.go index 7c8b5058..dd5f6c89 100644 --- a/internal/auth/iflow/iflow_auth.go +++ b/internal/auth/iflow/iflow_auth.go @@ -35,7 +35,7 @@ const DefaultAPIBaseURL = "https://apis.iflow.cn/v1" const SuccessRedirectURL = iFlowSuccessRedirectURL // 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. type IFlowAuth struct {