fix: 修复 Tencent DNS 缓存

This commit is contained in:
xream 2024-06-20 10:59:06 +08:00
parent c1a9fc6abc
commit 91aab3ca7a
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9

View File

@ -478,7 +478,7 @@ const DOMAIN_RESOLVERS = {
return result;
},
Tencent: async function (domain, type, noCache) {
const id = hex_md5(`ALI:${domain}:${type}`);
const id = hex_md5(`TENCENT:${domain}:${type}`);
const cached = resourceCache.get(id);
if (!noCache && cached) return cached;
const resp = await $.http.get({