diff --git a/backend/package.json b/backend/package.json index 33c0899..8bd0acf 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.275", + "version": "2.14.276", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/processors/index.js b/backend/src/core/proxy-utils/processors/index.js index 07624b7..0e4a564 100644 --- a/backend/src/core/proxy-utils/processors/index.js +++ b/backend/src/core/proxy-utils/processors/index.js @@ -490,7 +490,7 @@ const DOMAIN_RESOLVERS = { }, }); const answers = resp.body.split(';').map((i) => i.split(',')[0]); - if (answers.length === 0) { + if (answers.length === 0 || String(answers) === '0') { throw new Error('No answers'); } const result = answers[answers.length - 1];