mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
fix(auth): Correct iFlow OAuth callback port to 11451
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user