From e241e4ac0ca60f8c7c405f892eb35611d67d96ff Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 20 Aug 2025 23:36:46 -0700 Subject: [PATCH] mapshare link --- main.go | 1 + static/index.html | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/main.go b/main.go index dbd3b03..ab687e9 100644 --- a/main.go +++ b/main.go @@ -115,6 +115,7 @@ var allowedEnvs = []string{ "CONTACT_IMESSAGE", "CONTACT_WHATSAPP", "CONTACT_PAGE_EMAIL", + "GARMIN_MAPSHARE_URL", } func (ph *PHandler) envs() map[string]string { diff --git a/static/index.html b/static/index.html index 97d60df..4961cd7 100644 --- a/static/index.html +++ b/static/index.html @@ -198,6 +198,21 @@ document.addEventListener('DOMContentLoaded', () => { {{end}} + {{if .GARMIN_MAPSHARE_URL}} +
+ + + + + + + + {{.GARMIN_MAPSHARE_URL}} + + +
+ {{end}} +