From 3f620700a4f37e3ddb6935ea207d7fca74a173b7 Mon Sep 17 00:00:00 2001 From: xream Date: Thu, 30 May 2024 17:19:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20GUIforCores=20=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=82=E6=95=B0=20proxy,=20timeout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/vendor/open-api.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index d810520..c904558 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.324", + "version": "2.14.325", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/vendor/open-api.js b/backend/src/vendor/open-api.js index 7251089..cb0b7fd 100644 --- a/backend/src/vendor/open-api.js +++ b/backend/src/vendor/open-api.js @@ -382,6 +382,12 @@ export function HTTP(defaultOptions = { baseURL: '' }) { url: options.url, headers: options.headers, body: options.body, + options: { + Proxy: options.proxy, + Timeout: options.timeout + ? options.timeout / 1000 + : 15, + }, }); resolve({ statusCode: response.status,