fix(settings): remove dns server option (#1416)

* fix(settings): remove dns server option

This PR removes the DNS Servers option added in #1266 because it doesn't seem to work reliably.

* style: remove whitespace change
This commit is contained in:
Gauthier
2025-03-02 22:53:43 +01:00
committed by GitHub
parent 9cc6930fed
commit ada467ecf4
8 changed files with 1 additions and 51 deletions

View File

@@ -83,12 +83,6 @@ app
net.setDefaultAutoSelectFamily(false);
}
if (settings.network.dnsServers.trim() !== '') {
dns.setServers(
settings.network.dnsServers.split(',').map((server) => server.trim())
);
}
// Register HTTP proxy
if (settings.network.proxy.enabled) {
await createCustomProxyAgent(settings.network.proxy);