Fix Mapbox web bootstrap
Build and deploy Flutter Web / build (push) Successful in 5m23s

This commit is contained in:
Ruslan Bakiev
2026-06-24 10:15:25 +07:00
parent 6552c915a8
commit 5305a1d487
3 changed files with 9 additions and 0 deletions
+5
View File
@@ -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" <<EOF
window.__MAPFLOW_CONFIG__ = {
mapboxAccessToken: $(json_string "$MAPBOX_ACCESS_TOKEN"),