From 98a445daaed84703d7a343e0c364bb51343822b2 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 8 Nov 2023 11:45:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A4=E6=96=AD405=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/http-fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/http-fetch.ts b/src/plugins/http-fetch.ts index 6576ef60..9a66419c 100644 --- a/src/plugins/http-fetch.ts +++ b/src/plugins/http-fetch.ts @@ -325,7 +325,7 @@ function stateCode(res: Response) { }; } // 地址找不到 - if (res.status === 404) { + if (res.status === 404 || res.status === 405) { return { code: RESULT_CODE_ERROR, msg: RESULT_MSG_URL_NOTFOUND,