added new endpoint /active_iface for determining which wan interface is currently primary
Skyweave Test, Lint, and Deploy Ritual / Test and Lint Code (push) Failing after 31s
Skyweave Test, Lint, and Deploy Ritual / Deploy to Roof Unit (push) Has been skipped

This commit is contained in:
wes
2025-06-30 07:22:25 -04:00
parent 7d43a3d488
commit 48116eb42c
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -49,6 +49,7 @@ local success, load_result = pcall(function()
local router = Router:new()
router:add_route("GET", "/network_config", network_handlers.get_network_config)
router:add_route("GET", "/active_iface", network_handlers.get_active_iface)
router:add_route("POST", "/connect_wifi", network_handlers.set_connect_wifi)
router:add_route("GET", "/SOS", network_handlers.set_connect_wifi_sos)
router:add_route("GET", "/wifi_scan", wifi_handlers.get_wifi_scan)