fix(network): restore ExternalIP in server info response (#5043)

This commit is contained in:
neatnoise
2026-04-22 20:42:04 +02:00
committed by GitHub
parent 293c1ed3da
commit dca3e8bae2

View File

@@ -761,6 +761,10 @@ namespace nvhttp {
} }
tree.put("root.ServerCodecModeSupport", codec_mode_flags); tree.put("root.ServerCodecModeSupport", codec_mode_flags);
if (!config::nvhttp.external_ip.empty()) {
tree.put("root.ExternalIP", config::nvhttp.external_ip);
}
auto current_appid = proc::proc.running(); auto current_appid = proc::proc.running();
tree.put("root.PairStatus", pair_status); tree.put("root.PairStatus", pair_status);
tree.put("root.currentgame", current_appid); tree.put("root.currentgame", current_appid);