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,