From 5305a1d4876cb1e1205bea323751774acf96b098 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Wed, 24 Jun 2026 10:15:25 +0700 Subject: [PATCH] Fix Mapbox web bootstrap --- scripts/40-mapflow-runtime-config.sh | 5 +++++ web/index.html | 2 ++ web/index.prod.html | 2 ++ 3 files changed, 9 insertions(+) diff --git a/scripts/40-mapflow-runtime-config.sh b/scripts/40-mapflow-runtime-config.sh index 0394798..5100f95 100644 --- a/scripts/40-mapflow-runtime-config.sh +++ b/scripts/40-mapflow-runtime-config.sh @@ -42,6 +42,11 @@ else MAPBOX_STYLE="${MAPBOX_STYLE:-mapbox/standard}" fi +if [ -z "$MAPBOX_ACCESS_TOKEN" ]; then + echo "MAPBOX_ACCESS_TOKEN is required." >&2 + exit 1 +fi + cat >"$config_path" <MapFlow + +