Add mesh configuration for loop detection and update API endpoint handling

This commit is contained in:
Lloyd
2026-03-06 21:21:30 +00:00
parent e19ec79b49
commit e5c91f382a
2 changed files with 15 additions and 1 deletions
+4
View File
@@ -918,6 +918,10 @@ class RepeaterHandler(BaseHandler):
"rx_delay_base": delays_config.get("rx_delay_base", 0.0),
},
"web": self.config.get("web", {}), # Include web configuration
"mesh": {
"loop_detect": self.config.get("mesh", {}).get("loop_detect", "off"),
"global_flood_allow": self.config.get("mesh", {}).get("global_flood_allow", True),
},
},
"public_key": None,
}