diff --git a/src/utils.js b/src/utils.js index 1dbf01df363c337cf2cb3d9e9c4f1078cf78faa3..2d8114cfb9e01731dbd694f312bc5e717a7b6298 100644 --- a/src/utils.js +++ b/src/utils.js @@ -36,7 +36,7 @@ export function path() { let path = "."; if(window.orbit) { let component = window.orbit.npm.find(e=>e.package==`@startinblox/custom-tzcld`); - path = `https://cdn.skypack.dev/${component.package}@${component.version}/dist`; + path = `https://cdn.jsdelivr.net/npm/${component.package}@${component.version}/dist`; if(component.path) { path = component.path.replace('/index.js', '') } @@ -56,10 +56,10 @@ export function community_uniq() { } export function coreVersion() { - let coreUrl = "https://unpk.com/@startinblox/core@beta"; + let coreUrl = "https://cdn.jsdelivr.net/npm/@startinblox/core"; if(window.orbit) { let core = window.orbit.npm.find(e=>e.package=='@startinblox/core'); - coreUrl += `@${core.version}`; + coreUrl += `@${core.version}/+esm`; if(core.path) { coreUrl = core.path; }