make the /api/config endpoint restrictive to what it provides. It will only show what is needed for the current code.

This commit is contained in:
Pablo Revilla
2025-09-17 23:01:29 -07:00
parent 6e223a066a
commit bbab5fefd0

View File

@@ -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() {