mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-03-20 10:02:38 +08:00
Fixed a bug when domain resolve failed, proxy server is missing
This commit is contained in:
@@ -313,7 +313,7 @@ function ResolveDomainOperator({ provider }) {
|
||||
// resolve domains
|
||||
await Promise.all([...resolves.values()]);
|
||||
proxies.forEach((proxy) => {
|
||||
proxy.server = results[proxy.server];
|
||||
proxy.server = results[proxy.server] || proxy.server;
|
||||
});
|
||||
|
||||
return proxies;
|
||||
|
||||
Reference in New Issue
Block a user