Composites forward provider, so a MapLibre partner gets MapLibre
A composite shell copies a whitelist of keys from its own profile-config down to each map it nests. `provider` was not on any of the three lists, so a nested pane read it as undefined and fell back to Mapbox: a partner who asked for MapLibre, and who holds no Mapbox token, got Mapbox maps in every inner pane. Same shape as the missing `urlSync` here before it -- an inner map cannot honour a key the shell never passed down. The report named country-posters-mfe. All three composites had it: regions-mfe and upg-100-mfe were missing `provider` too, so fixing only the one named would have left two thirds of the defect in place. Verification is a probe, not an inspection, and it needs a control. "0 requests to api.mapbox.com" passes trivially on a page where nothing mounted -- the most likely way this measurement goes wrong -- so each composite is loaded twice: once with provider=maplibre expecting zero, once with provider omitted expecting more than zero. The second run is what proves the first measured anything; a run that renders no canvas is reported UNPROVEN rather than passing. It also cannot be measured on a leaf page. Every leaf loads its map peer in its own <head> (regions-mfe/index.html line 13 is a hardcoded api.mapbox.com script), so on a leaf zero mapbox requests is unreachable whatever provider says. The question only has meaning on a host that picks the peer itself, which is what a partner embedding the .js actually does.
This commit is contained in:
parent
79dc11720f
commit
0fee065212
17 changed files with 40 additions and 28 deletions
|
|
@ -92,7 +92,11 @@ let offScroll = null
|
|||
// assetsBase never reached the consumer.
|
||||
// Forwarded by KEY LIST, never by spreading the whole host config, so a pane's own
|
||||
// `profile`/`instanceId` cannot be overwritten (pane.config is spread last).
|
||||
const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'prayBaseUrl', 'locale', 'lang', 'isDark', 'qa']
|
||||
// ★ 'provider' MUST travel. A composite that forwards the token but not the provider hands a
|
||||
// partner who asked for MapLibre a Mapbox map in every nested pane -- the pane reads
|
||||
// provider as undefined and falls back. Same shape of bug as the missing 'urlSync' here
|
||||
// before it: the inner map cannot honour a key the shell never passed down.
|
||||
const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'prayBaseUrl', 'locale', 'lang', 'isDark', 'qa', 'provider']
|
||||
|
||||
function paneElement(pane) {
|
||||
const el = document.createElement(TAG)
|
||||
|
|
|
|||
|
|
@ -136,7 +136,11 @@ const paneEls = {}
|
|||
// Forwarded by KEY LIST, not by spreading the whole host config: a pane's own `profile` /
|
||||
// `instanceId` must NOT be overwritten by the host's, which is what makes a pane a distinct
|
||||
// view at all. Anything a pane declares still wins (pane.config is spread last).
|
||||
const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'locale', 'lang', 'isDark', 'qa']
|
||||
// ★ 'provider' MUST travel. A composite that forwards the token but not the provider hands a
|
||||
// partner who asked for MapLibre a Mapbox map in every nested pane -- the pane reads
|
||||
// provider as undefined and falls back. Same shape of bug as the missing 'urlSync' here
|
||||
// before it: the inner map cannot honour a key the shell never passed down.
|
||||
const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'locale', 'lang', 'isDark', 'qa', 'provider']
|
||||
|
||||
function paneElement(pane) {
|
||||
const el = document.createElement(TAG)
|
||||
|
|
|
|||
|
|
@ -91,7 +91,11 @@ let offScroll = null
|
|||
// It is the same lesson as the cap-4 asset-path one this file already records: page-scoped config
|
||||
// has to be forwarded explicitly. Note the filter below keeps `false`, which is the value that
|
||||
// matters here -- it rejects undefined, null and '' only.
|
||||
const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'prayBaseUrl', 'locale', 'lang', 'languageCode', 'isDark', 'qa', 'pinHint', 'urlSync']
|
||||
// ★ 'provider' MUST travel. A composite that forwards the token but not the provider hands a
|
||||
// partner who asked for MapLibre a Mapbox map in every nested pane -- the pane reads
|
||||
// provider as undefined and falls back. Same shape of bug as the missing 'urlSync' here
|
||||
// before it: the inner map cannot honour a key the shell never passed down.
|
||||
const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'prayBaseUrl', 'locale', 'lang', 'languageCode', 'isDark', 'qa', 'pinHint', 'urlSync', 'provider']
|
||||
|
||||
function paneElement(pane) {
|
||||
const el = document.createElement(TAG)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <country-posters-map> custom element. -->
|
||||
<script src="../country-posters.js" integrity="sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK" crossorigin="anonymous"></script>
|
||||
<script src="../country-posters.js" integrity="sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <country-posters-map> custom element. -->
|
||||
<script src="../country-posters.js" integrity="sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK" crossorigin="anonymous"></script>
|
||||
<script src="../country-posters.js" integrity="sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <country-posters-map> custom element. -->
|
||||
<script src="../country-posters.js" integrity="sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK" crossorigin="anonymous"></script>
|
||||
<script src="../country-posters.js" integrity="sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
2
public/doxa-maps/index.html
generated
2
public/doxa-maps/index.html
generated
File diff suppressed because one or more lines are too long
24
public/doxa-maps/manifest.json
generated
24
public/doxa-maps/manifest.json
generated
|
|
@ -158,7 +158,7 @@
|
|||
"bundle": "country-posters",
|
||||
"scriptUrl": "./country-posters/country-posters.js",
|
||||
"output": "doxa-maps/country-posters/country-posters.js",
|
||||
"integrity": "sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK",
|
||||
"integrity": "sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ",
|
||||
"elements": [
|
||||
"country-posters-map"
|
||||
],
|
||||
|
|
@ -178,7 +178,7 @@
|
|||
"scriptUrl": "./country-posters/country-posters.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./country-posters/countries-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./country-posters/country-posters.js\" integrity=\"sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK\" crossorigin=\"anonymous\"></script>\n<country-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></country-posters-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./country-posters/country-posters.js\" integrity=\"sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ\" crossorigin=\"anonymous\"></script>\n<country-posters-map profile-config='{\"profile\":\"countries-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></country-posters-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -192,7 +192,7 @@
|
|||
"scriptUrl": "./country-posters/country-posters.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./country-posters/country-poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./country-posters/country-posters.js\" integrity=\"sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK\" crossorigin=\"anonymous\"></script>\n<country-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></country-posters-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./country-posters/country-posters.js\" integrity=\"sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ\" crossorigin=\"anonymous\"></script>\n<country-posters-map profile-config='{\"profile\":\"country-poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></country-posters-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
"scriptUrl": "./country-posters/country-posters.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./country-posters/country-posters-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./country-posters/country-posters.js\" integrity=\"sha384-DMekaxlBlThlZ5a6x5TIEInsNUfrEgCKQxNxfDURQhvd+fBYFXnd6gtOFVifQxJK\" crossorigin=\"anonymous\"></script>\n<country-posters-map profile-config='{\"profile\":\"country-posters-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></country-posters-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./country-posters/country-posters.js\" integrity=\"sha384-gBGHf3yMre12ZzKnkXY/lQXEchEiFlx9JyBvzG8nStjPuWcyFVz4VvuotdqFpxUJ\" crossorigin=\"anonymous\"></script>\n<country-posters-map profile-config='{\"profile\":\"country-posters-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></country-posters-map>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -664,7 +664,7 @@
|
|||
"bundle": "my-upg-100-list",
|
||||
"scriptUrl": "./my-upg-100-list/my-upg-100-list.js",
|
||||
"output": "doxa-maps/my-upg-100-list/my-upg-100-list.js",
|
||||
"integrity": "sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f",
|
||||
"integrity": "sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq",
|
||||
"elements": [
|
||||
"my-upg-100-list-map"
|
||||
],
|
||||
|
|
@ -684,7 +684,7 @@
|
|||
"scriptUrl": "./my-upg-100-list/my-upg-100-list.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./my-upg-100-list/poster-wall/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f\" crossorigin=\"anonymous\"></script>\n<my-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></my-upg-100-list-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq\" crossorigin=\"anonymous\"></script>\n<my-upg-100-list-map profile-config='{\"profile\":\"poster-wall\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></my-upg-100-list-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -698,7 +698,7 @@
|
|||
"scriptUrl": "./my-upg-100-list/my-upg-100-list.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./my-upg-100-list/upg-100-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f\" crossorigin=\"anonymous\"></script>\n<my-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></my-upg-100-list-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq\" crossorigin=\"anonymous\"></script>\n<my-upg-100-list-map profile-config='{\"profile\":\"upg-100-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></my-upg-100-list-map>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -712,7 +712,7 @@
|
|||
"scriptUrl": "./my-upg-100-list/my-upg-100-list.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./my-upg-100-list/upg-100-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f\" crossorigin=\"anonymous\"></script>\n<my-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></my-upg-100-list-map>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./my-upg-100-list/my-upg-100-list.js\" integrity=\"sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq\" crossorigin=\"anonymous\"></script>\n<my-upg-100-list-map profile-config='{\"profile\":\"upg-100-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></my-upg-100-list-map>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -862,7 +862,7 @@
|
|||
"bundle": "regions-dashboard",
|
||||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"output": "doxa-maps/regions-dashboard/regions-dashboard.js",
|
||||
"integrity": "sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ",
|
||||
"integrity": "sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b",
|
||||
"elements": [
|
||||
"regions-dashboard"
|
||||
],
|
||||
|
|
@ -882,7 +882,7 @@
|
|||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./regions-dashboard/region-dashboards/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"region-dashboards\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -896,7 +896,7 @@
|
|||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./regions-dashboard/regions-list/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-list\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -910,7 +910,7 @@
|
|||
"scriptUrl": "./regions-dashboard/regions-dashboard.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./regions-dashboard/regions-mfe/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
"script": "<script>window.MAP_APP_API_URL=\"https://pray.doxa.life\";</script>\n<script src=\"./regions-dashboard/regions-dashboard.js\" integrity=\"sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b\" crossorigin=\"anonymous\"></script>\n<regions-dashboard profile-config='{\"profile\":\"regions-mfe\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\",\"assetsBase\":\"YOUR_TREE_URL/assets\"}'></regions-dashboard>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <my-upg-100-list-map> custom element. -->
|
||||
<script src="../my-upg-100-list.js" integrity="sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f" crossorigin="anonymous"></script>
|
||||
<script src="../my-upg-100-list.js" integrity="sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <my-upg-100-list-map> custom element. -->
|
||||
<script src="../my-upg-100-list.js" integrity="sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f" crossorigin="anonymous"></script>
|
||||
<script src="../my-upg-100-list.js" integrity="sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <my-upg-100-list-map> custom element. -->
|
||||
<script src="../my-upg-100-list.js" integrity="sha384-nBvaBlU1z19Bta9BV/EM03dLeV2ldfe6wzI6jw4CAV/ssMf1UFPMCS4NDlLTyC0f" crossorigin="anonymous"></script>
|
||||
<script src="../my-upg-100-list.js" integrity="sha384-6bJjJrUxcO/A4srdtWCAMg/uXWU4jRAOHklcXsxY7l15LNdqu7OKbWOVGI3l5irq" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <regions-dashboard> custom element. -->
|
||||
<script src="../regions-dashboard.js" integrity="sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ" crossorigin="anonymous"></script>
|
||||
<script src="../regions-dashboard.js" integrity="sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <regions-dashboard> custom element. -->
|
||||
<script src="../regions-dashboard.js" integrity="sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ" crossorigin="anonymous"></script>
|
||||
<script src="../regions-dashboard.js" integrity="sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <regions-dashboard> custom element. -->
|
||||
<script src="../regions-dashboard.js" integrity="sha384-E0FzUCF217GMilmj/FR3o0cK7SbJe8zstGlOuKIpRhEhUtRDNj5AJ1LZehqc7NeQ" crossorigin="anonymous"></script>
|
||||
<script src="../regions-dashboard.js" integrity="sha384-rQx2+kVf9ovNNFIH7/l3b4QiPI0fMVCQQmTu575pC4DCMcnxuEwRUZta6+5hjE8b" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
Loading…
Reference in a new issue