Update api.ts

This commit is contained in:
Frostime 2023-08-17 00:10:25 +08:00 committed by GitHub
parent 1f199a6dcf
commit cfa959c1a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,8 +397,8 @@ export async function pushErrMsg(msg: string, timeout: number = 7000) {
// **************************************** Network **************************************** // **************************************** Network ****************************************
export async function forwardProxy( export async function forwardProxy(
url: string, method: string, payload: any, url: string, method: string = 'GET', payload: any = {},
headers: any[], timeout: number = 7000, contentType: string = "text/html" headers: any[] = [], timeout: number = 7000, contentType: string = "text/html"
): Promise<IResForwardProxy> { ): Promise<IResForwardProxy> {
let data = { let data = {
url: url, url: url,