diff --git a/edsdme/scripts/utils.js b/edsdme/scripts/utils.js index 1080635..bbb811c 100644 --- a/edsdme/scripts/utils.js +++ b/edsdme/scripts/utils.js @@ -31,7 +31,7 @@ export const [setLibs, getLibs] = (() => { libs = (() => { const { hostname, search } = location || window.location; // TODO: check if better ways are possible for partners.stage.adobe.com - if (!(hostname.includes('.hlx.') || hostname.includes('local') || hostname === 'partners.stage.adobe.com')) return prodLibs; + if (!(hostname.includes('.hlx.') || hostname.includes('local') || hostname === 'partners.stage.adobe.com' || hostname === 'partners.adobe.com')) return prodLibs; const branch = new URLSearchParams(search).get('milolibs') || 'main'; if (branch === 'local') return 'http://localhost:6456/libs'; return branch.includes('--') ? `https://${branch}.hlx.live/libs` : `https://${branch}--milo--adobecom.hlx.live/libs`;