diff --git a/openrouter/src/settings/dns/servers.cpp b/openrouter/src/settings/dns/servers.cpp index 23600ac..05a017a 100644 --- a/openrouter/src/settings/dns/servers.cpp +++ b/openrouter/src/settings/dns/servers.cpp @@ -63,7 +63,7 @@ namespace settings { nlohmann::json servers = json_body["servers"]; for (const nlohmann::json_abi_v3_11_3::json &server : servers) { std::string srv = server; - if (server.empty()) { + if (server == "") { continue; } dnsserversfile << "nameserver " << srv << "\n"; diff --git a/openrouter/src/web/index.html b/openrouter/src/web/index.html index 727a7a6..eee33a0 100644 --- a/openrouter/src/web/index.html +++ b/openrouter/src/web/index.html @@ -225,7 +225,7 @@