From 1b6316a6993b72a15777ff0d00481fb37d2553ea Mon Sep 17 00:00:00 2001 From: doxa-maps Date: Tue, 22 Sep 2026 11:15:00 +0000 Subject: [PATCH] Bake a Mapbox token that is not URL-restricted, so basemaps actually paint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Driver's report was exact: the pins load and the underlying map does not — a grey field with data floating on it. That is the URL-restriction signature. The baked token was scoped to doxa.life, so tiles returned 403 from nuxtbase.app, from localhost, and from a bare origin, while the style document returned 200 everywhere. The map therefore booted, drew every dot, and showed no basemap. The Driver supplied a token with no URL restriction. Measured side by side: it serves tiles 200 with no Referer, from nuxtbase.app and from localhost, where the previous one returns 403 in all three cases. Also empties tokenUrl. It pointed at the endpoint that serves the restricted token, and that endpoint sits above the baked token in the ladder — leaving it set would fetch the broken token at runtime and overwrite the good one. All 43 leaves rebuilt and carry the new token; none carries the old one. Verified in a browser with no Referer sent, the way a real visitor arrives: nine of nine tile requests returned 200. This unblocks the interoperability work, which could not be judged while the map underneath was blank. --- public/.build.lock | 2 +- .../all-people-groups/index.html | 4 ++-- .../big-picture/big-picture/index.html | 4 ++-- .../big-picture/big-picture/frontier/index.html | 4 ++-- .../doxa-maps/big-picture/big-picture/index.html | 4 ++-- .../cities-internet/connectivity-list/index.html | 4 ++-- .../cities-internet/connectivity-map/index.html | 4 ++-- .../cities-internet/data-tables/index.html | 4 ++-- .../country-posters/countries-map/index.html | 4 ++-- .../country-poster-wall/index.html | 4 ++-- .../dashboard-plus-grid/default/index.html | 4 ++-- .../dashboard-plus-grid/index.html | 4 ++-- public/doxa-maps/demo-map/demo-map/index.html | 4 ++-- .../demo-map/demo-map/maplibre/index.html | 4 ++-- .../doxa-maps-spa/doxa-maps-spa/app/index.html | 4 ++-- .../doxa-maps-spa/doxa-maps-spa/index.html | 4 ++-- .../doxa-research-map/research-map/index.html | 4 ++-- .../doxa-simple-map/adoption/index.html | 4 ++-- .../doxa-simple-map/engagement/index.html | 4 ++-- .../doxa-simple-map/doxa-simple-map/index.html | 4 ++-- .../doxa-simple-map/prayer/index.html | 4 ++-- .../doxa-vision-card/default/index.html | 4 ++-- .../doxa-vision-card/frontier/index.html | 4 ++-- .../doxa-vision-card/doxa-vision-card/index.html | 4 ++-- .../golden-path-check/index.html | 4 ++-- .../doxa-maps/gospel-resources/charts/index.html | 4 ++-- .../gospel-resources/data-tables/index.html | 4 ++-- .../gospel-resources/resources-list/index.html | 4 ++-- .../gospel-resources/resources-map/index.html | 4 ++-- .../my-upg-100-list/poster-wall/index.html | 4 ++-- .../my-upg-100-list/upg-100-list/index.html | 4 ++-- .../my-upg-100-list/upg-100-mfe/index.html | 4 ++-- .../people-groups-grid/driven/index.html | 4 ++-- .../people-groups-grid/index.html | 4 ++-- .../people-groups-grid/index.html | 4 ++-- .../plugin-studio/plugin-studio/index.html | 4 ++-- .../plugin-studio/plugin-studio/studio/index.html | 4 ++-- .../research-dashboard/index.html | 4 ++-- .../research-map-plus-grid/default/index.html | 4 ++-- .../research-map-plus-grid/index.html | 4 ++-- public/doxa-maps/stack-demo/stack-demo/index.html | 4 ++-- .../stack-demo/stack-demo/pair/index.html | 4 ++-- .../template-bundle/template-map-a/index.html | 4 ++-- .../template-bundle/template-map-b/index.html | 4 ++-- public/index.html | 2 +- vite.doxa-maps-build-config.json | 15 ++++++++------- 46 files changed, 96 insertions(+), 95 deletions(-) diff --git a/public/.build.lock b/public/.build.lock index 10e9489c5..e4faa44f6 100644 --- a/public/.build.lock +++ b/public/.build.lock @@ -1 +1 @@ -pid=3232086 started=2026-09-22T10:59:21Z by=lk10x +pid=3289553 started=2026-09-22T11:09:19Z by=lk10x diff --git a/public/doxa-maps/all-people-groups/all-people-groups/index.html b/public/doxa-maps/all-people-groups/all-people-groups/index.html index 95f2833e6..d60b4f25f 100644 --- a/public/doxa-maps/all-people-groups/all-people-groups/index.html +++ b/public/doxa-maps/all-people-groups/all-people-groups/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/big-picture/big-picture/big-picture/index.html b/public/doxa-maps/big-picture/big-picture/big-picture/index.html index 8029e8ad7..cee4d8a7e 100644 --- a/public/doxa-maps/big-picture/big-picture/big-picture/index.html +++ b/public/doxa-maps/big-picture/big-picture/big-picture/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/big-picture/big-picture/frontier/index.html b/public/doxa-maps/big-picture/big-picture/frontier/index.html index de43ee5c2..832ad3ca0 100644 --- a/public/doxa-maps/big-picture/big-picture/frontier/index.html +++ b/public/doxa-maps/big-picture/big-picture/frontier/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/big-picture/big-picture/index.html b/public/doxa-maps/big-picture/big-picture/index.html index 486c92552..6162ce9e5 100644 --- a/public/doxa-maps/big-picture/big-picture/index.html +++ b/public/doxa-maps/big-picture/big-picture/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/cities-internet/connectivity-list/index.html b/public/doxa-maps/cities-internet/connectivity-list/index.html index 00c6f397d..e1bcf1076 100644 --- a/public/doxa-maps/cities-internet/connectivity-list/index.html +++ b/public/doxa-maps/cities-internet/connectivity-list/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/cities-internet/connectivity-map/index.html b/public/doxa-maps/cities-internet/connectivity-map/index.html index 139440bd3..dfad88e4c 100644 --- a/public/doxa-maps/cities-internet/connectivity-map/index.html +++ b/public/doxa-maps/cities-internet/connectivity-map/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/cities-internet/data-tables/index.html b/public/doxa-maps/cities-internet/data-tables/index.html index 2784fe908..b87a88a31 100644 --- a/public/doxa-maps/cities-internet/data-tables/index.html +++ b/public/doxa-maps/cities-internet/data-tables/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/country-posters/countries-map/index.html b/public/doxa-maps/country-posters/countries-map/index.html index bbe84b5bc..2df1ee8ed 100644 --- a/public/doxa-maps/country-posters/countries-map/index.html +++ b/public/doxa-maps/country-posters/countries-map/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/country-posters/country-poster-wall/index.html b/public/doxa-maps/country-posters/country-poster-wall/index.html index b340e14c3..c35537ff3 100644 --- a/public/doxa-maps/country-posters/country-poster-wall/index.html +++ b/public/doxa-maps/country-posters/country-poster-wall/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html b/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html index a1e6d55e0..10afe4daf 100644 --- a/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html +++ b/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html @@ -60,8 +60,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/index.html b/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/index.html index c01f83018..74b945443 100644 --- a/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/index.html +++ b/public/doxa-maps/dashboard-plus-grid/dashboard-plus-grid/index.html @@ -60,8 +60,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/demo-map/demo-map/index.html b/public/doxa-maps/demo-map/demo-map/index.html index 60a1fe17e..95c53fe16 100644 --- a/public/doxa-maps/demo-map/demo-map/index.html +++ b/public/doxa-maps/demo-map/demo-map/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/demo-map/demo-map/maplibre/index.html b/public/doxa-maps/demo-map/demo-map/maplibre/index.html index b92df698f..ae0071a22 100644 --- a/public/doxa-maps/demo-map/demo-map/maplibre/index.html +++ b/public/doxa-maps/demo-map/demo-map/maplibre/index.html @@ -47,8 +47,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html index ac0ce26b5..1a2cfb72e 100644 --- a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html +++ b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/app/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/index.html b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/index.html index 9e483bd43..9a20bdc1c 100644 --- a/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/index.html +++ b/public/doxa-maps/doxa-maps-spa/doxa-maps-spa/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-research-map/research-map/index.html b/public/doxa-maps/doxa-research-map/research-map/index.html index 2ad6e43ff..02ea27497 100644 --- a/public/doxa-maps/doxa-research-map/research-map/index.html +++ b/public/doxa-maps/doxa-research-map/research-map/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-simple-map/doxa-simple-map/adoption/index.html b/public/doxa-maps/doxa-simple-map/doxa-simple-map/adoption/index.html index 15966cb0f..df4acee22 100644 --- a/public/doxa-maps/doxa-simple-map/doxa-simple-map/adoption/index.html +++ b/public/doxa-maps/doxa-simple-map/doxa-simple-map/adoption/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-simple-map/doxa-simple-map/engagement/index.html b/public/doxa-maps/doxa-simple-map/doxa-simple-map/engagement/index.html index 2254c5c29..f4b01fd19 100644 --- a/public/doxa-maps/doxa-simple-map/doxa-simple-map/engagement/index.html +++ b/public/doxa-maps/doxa-simple-map/doxa-simple-map/engagement/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-simple-map/doxa-simple-map/index.html b/public/doxa-maps/doxa-simple-map/doxa-simple-map/index.html index 7efff1e0c..bab3221eb 100644 --- a/public/doxa-maps/doxa-simple-map/doxa-simple-map/index.html +++ b/public/doxa-maps/doxa-simple-map/doxa-simple-map/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-simple-map/doxa-simple-map/prayer/index.html b/public/doxa-maps/doxa-simple-map/doxa-simple-map/prayer/index.html index 7e1c8965e..ef556d69b 100644 --- a/public/doxa-maps/doxa-simple-map/doxa-simple-map/prayer/index.html +++ b/public/doxa-maps/doxa-simple-map/doxa-simple-map/prayer/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-vision-card/doxa-vision-card/default/index.html b/public/doxa-maps/doxa-vision-card/doxa-vision-card/default/index.html index 7b21bb518..f10e36f64 100644 --- a/public/doxa-maps/doxa-vision-card/doxa-vision-card/default/index.html +++ b/public/doxa-maps/doxa-vision-card/doxa-vision-card/default/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-vision-card/doxa-vision-card/frontier/index.html b/public/doxa-maps/doxa-vision-card/doxa-vision-card/frontier/index.html index 511d0b276..b11292cc1 100644 --- a/public/doxa-maps/doxa-vision-card/doxa-vision-card/frontier/index.html +++ b/public/doxa-maps/doxa-vision-card/doxa-vision-card/frontier/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/doxa-vision-card/doxa-vision-card/index.html b/public/doxa-maps/doxa-vision-card/doxa-vision-card/index.html index 726f445c6..47a198930 100644 --- a/public/doxa-maps/doxa-vision-card/doxa-vision-card/index.html +++ b/public/doxa-maps/doxa-vision-card/doxa-vision-card/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/golden-path-check/golden-path-check/index.html b/public/doxa-maps/golden-path-check/golden-path-check/index.html index e969b81a0..972751e7b 100644 --- a/public/doxa-maps/golden-path-check/golden-path-check/index.html +++ b/public/doxa-maps/golden-path-check/golden-path-check/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/gospel-resources/charts/index.html b/public/doxa-maps/gospel-resources/charts/index.html index fb57c3158..15e70e70f 100644 --- a/public/doxa-maps/gospel-resources/charts/index.html +++ b/public/doxa-maps/gospel-resources/charts/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/gospel-resources/data-tables/index.html b/public/doxa-maps/gospel-resources/data-tables/index.html index c8477c3ae..3012c7e40 100644 --- a/public/doxa-maps/gospel-resources/data-tables/index.html +++ b/public/doxa-maps/gospel-resources/data-tables/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/gospel-resources/resources-list/index.html b/public/doxa-maps/gospel-resources/resources-list/index.html index 4abe57d49..fa85341f5 100644 --- a/public/doxa-maps/gospel-resources/resources-list/index.html +++ b/public/doxa-maps/gospel-resources/resources-list/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/gospel-resources/resources-map/index.html b/public/doxa-maps/gospel-resources/resources-map/index.html index a9738093e..592d9571c 100644 --- a/public/doxa-maps/gospel-resources/resources-map/index.html +++ b/public/doxa-maps/gospel-resources/resources-map/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/my-upg-100-list/poster-wall/index.html b/public/doxa-maps/my-upg-100-list/poster-wall/index.html index 8b4b83583..fef8e29d3 100644 --- a/public/doxa-maps/my-upg-100-list/poster-wall/index.html +++ b/public/doxa-maps/my-upg-100-list/poster-wall/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/my-upg-100-list/upg-100-list/index.html b/public/doxa-maps/my-upg-100-list/upg-100-list/index.html index d65bcb66f..2ea7bdd0f 100644 --- a/public/doxa-maps/my-upg-100-list/upg-100-list/index.html +++ b/public/doxa-maps/my-upg-100-list/upg-100-list/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/my-upg-100-list/upg-100-mfe/index.html b/public/doxa-maps/my-upg-100-list/upg-100-mfe/index.html index 4a42e087b..985f91e11 100644 --- a/public/doxa-maps/my-upg-100-list/upg-100-mfe/index.html +++ b/public/doxa-maps/my-upg-100-list/upg-100-mfe/index.html @@ -60,8 +60,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html b/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html index e994cfdc7..9b2dd217d 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html +++ b/public/doxa-maps/people-groups-grid/people-groups-grid/driven/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid/index.html b/public/doxa-maps/people-groups-grid/people-groups-grid/index.html index 1674a0716..8eb8e73cd 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid/index.html +++ b/public/doxa-maps/people-groups-grid/people-groups-grid/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html b/public/doxa-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html index 9e9e1b803..87d5d6c9f 100644 --- a/public/doxa-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html +++ b/public/doxa-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/plugin-studio/plugin-studio/index.html b/public/doxa-maps/plugin-studio/plugin-studio/index.html index 4008725df..1936cd0b1 100644 --- a/public/doxa-maps/plugin-studio/plugin-studio/index.html +++ b/public/doxa-maps/plugin-studio/plugin-studio/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/plugin-studio/plugin-studio/studio/index.html b/public/doxa-maps/plugin-studio/plugin-studio/studio/index.html index c4d92e32a..f382b94bd 100644 --- a/public/doxa-maps/plugin-studio/plugin-studio/studio/index.html +++ b/public/doxa-maps/plugin-studio/plugin-studio/studio/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/research-dashboard/research-dashboard/index.html b/public/doxa-maps/research-dashboard/research-dashboard/index.html index 8f83e3d95..ed3b72df8 100644 --- a/public/doxa-maps/research-dashboard/research-dashboard/index.html +++ b/public/doxa-maps/research-dashboard/research-dashboard/index.html @@ -49,8 +49,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = false; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/default/index.html b/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/default/index.html index 1f0b1b969..a2f037f39 100644 --- a/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/default/index.html +++ b/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/default/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/index.html b/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/index.html index 8626b1830..0f80842a8 100644 --- a/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/index.html +++ b/public/doxa-maps/research-map-plus-grid/research-map-plus-grid/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/stack-demo/stack-demo/index.html b/public/doxa-maps/stack-demo/stack-demo/index.html index 148ca2d37..3e22337b3 100644 --- a/public/doxa-maps/stack-demo/stack-demo/index.html +++ b/public/doxa-maps/stack-demo/stack-demo/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/stack-demo/stack-demo/pair/index.html b/public/doxa-maps/stack-demo/stack-demo/pair/index.html index f0a2760f2..7de71a9bc 100644 --- a/public/doxa-maps/stack-demo/stack-demo/pair/index.html +++ b/public/doxa-maps/stack-demo/stack-demo/pair/index.html @@ -57,8 +57,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/template-bundle/template-map-a/index.html b/public/doxa-maps/template-bundle/template-map-a/index.html index f2170b864..e7b5b6e5c 100644 --- a/public/doxa-maps/template-bundle/template-map-a/index.html +++ b/public/doxa-maps/template-bundle/template-map-a/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/doxa-maps/template-bundle/template-map-b/index.html b/public/doxa-maps/template-bundle/template-map-b/index.html index 1abfcaff2..dc8b142c1 100644 --- a/public/doxa-maps/template-bundle/template-map-b/index.html +++ b/public/doxa-maps/template-bundle/template-map-b/index.html @@ -46,8 +46,8 @@ // MapLibre map pages AND shell pages (app-shell / nested-mfe-spa) need NO token: // the ladder below is skipped entirely and the element mounts immediately. var TOKEN_FREE = true; - var TOKEN_SRC = "https://doxa.life/api/maps/token"; - var BAKED_TOKEN = "pk.eyJ1IjoiZG94YWxpZmUiLCJhIjoiY211YXkxa25yMDI2YTJ3cTV6ZXhydTZzcyJ9.fBMmvu0Y0S9u8tnHOyVhxg"; + var TOKEN_SRC = "window.MAP_TOKEN_URL"; + var BAKED_TOKEN = "pk.eyJ1IjoiZ29zeXN0ZW1zIiwiYSI6ImNtZm9vM291czA3amQya3BzYW42YW9ibTcifQ.52WM0IpxY9FcB0zc9f1zbQ"; // Expose the baked token as window.MAP_TOKEN so a BAKED composite (a compiled element that mounts // a map component directly, with no ProfileLoader/profile-config wrapper) still finds a token — // useMapInstance falls back to window.MAP_TOKEN. No effect when BAKED_TOKEN is empty. diff --git a/public/index.html b/public/index.html index 5ccff3584..dbecd3313 100644 --- a/public/index.html +++ b/public/index.html @@ -81,7 +81,7 @@ code{font-family:ui-monospace,Menlo,monospace}