feat: add shared observer location with opt-out

This commit is contained in:
James Ward
2026-01-29 23:41:13 -08:00
parent 0e39dfb95f
commit 877a810ff4
15 changed files with 382 additions and 147 deletions
+5 -1
View File
@@ -34,6 +34,7 @@ from config import (
ADSB_DB_PORT,
ADSB_DB_USER,
ADSB_HISTORY_ENABLED,
SHARED_OBSERVER_LOCATION_ENABLED,
)
from utils.logging import adsb_logger as logger
from utils.validation import (
@@ -812,7 +813,10 @@ def stream_adsb():
@adsb_bp.route('/dashboard')
def adsb_dashboard():
"""Popout ADS-B dashboard."""
return render_template('adsb_dashboard.html')
return render_template(
'adsb_dashboard.html',
shared_observer_location=SHARED_OBSERVER_LOCATION_ENABLED,
)
@adsb_bp.route('/history')