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 + +