mirror of
https://github.com/jorijn/meshcore-stats.git
synced 2026-08-09 02:02:47 +02:00
feat: add configurable custom HTML head injection
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:
@@ -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