Add proxy configuration to more network fetches. (#7328)
This commit is contained in:
1 parent
ba98b44504
commit
67bc9932e5
21 files changed
+48
-11
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import axios, { AxiosRequestConfig, AxiosResponse } from "axios"
|
||||
import { Controller } from "@/core/controller"
|
||||
import { getAxiosSettings } from "@/shared/net"
|
||||
import { ClineEnv } from "../../../config"
|
||||
import { AuthService } from "../../../services/auth/AuthService"
|
||||
import { CLINE_API_ENDPOINT } from "../../../shared/cline/api"
|
||||
@@ -35,6 +36,7 @@ async function fetchRemoteConfigForOrganization(organizationId: string): Promise
|
||||
Authorization: `Bearer ${authToken}`,
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
...getAxiosSettings(),
|
||||
}
|
||||
|
||||
const response: AxiosResponse<{
|
||||
|
||||
Reference in new issue
Block a user