From bbab5fefd055478e942d2a1da513229672d3e456 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Wed, 17 Sep 2025 23:01:29 -0700 Subject: [PATCH] make the /api/config endpoint restrictive to what it provides. It will only show what is needed for the current code. --- meshview/templates/firehose.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshview/templates/firehose.html b/meshview/templates/firehose.html index 22ac346..e2d637c 100644 --- a/meshview/templates/firehose.html +++ b/meshview/templates/firehose.html @@ -45,7 +45,7 @@ let portnum = "{{ portnum if portnum is not none else '' }}"; let updatesPaused = false; // Use firehose_interval from config (seconds), default to 3s if not set -const firehoseInterval = {{ site_config["site"]["firehose_interal"] | default(3) }}; +const firehoseInterval = {{ site_config["site"]["firehose_interval"] | default(3) }}; if (firehoseInterval < 0) firehoseInterval = 0; function fetchUpdates() {