mirror of
https://github.com/jorijn/meshcore-stats.git
synced 2026-08-07 09:12:47 +02:00
feat: add configurable custom HTML head injection (#118)
Allow deployers to inject custom HTML into the <head> of every page via the CUSTOM_HEAD_HTML config option, useful for analytics scripts (Plausible, Matomo, etc.) without modifying source. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
de2290639f
commit
edde12f17c
@@ -148,6 +148,14 @@ RADIO_CODING_RATE=CR8
|
||||
# TELEMETRY_RETRY_ATTEMPTS=2
|
||||
# TELEMETRY_RETRY_BACKOFF_S=4
|
||||
|
||||
# =============================================================================
|
||||
# Custom HTML (Analytics, etc.)
|
||||
# =============================================================================
|
||||
# Inject custom HTML into the <head> of every page.
|
||||
# Useful for analytics scripts (Plausible, Matomo, etc.) without modifying source.
|
||||
# Example for Plausible:
|
||||
# CUSTOM_HEAD_HTML=<script defer data-domain="stats.example.com" src="https://plausible.io/js/script.js"></script>
|
||||
|
||||
# =============================================================================
|
||||
# Paths (Native installation only)
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user