mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
fix: 修复 Tencent DNS 解析
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user