Skip to content
Snippets Groups Projects
Commit ae4f37b3 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

force: proper core beta

parent 5cc186b9
No related branches found
No related tags found
3 merge requests!5feature: add config support for community list display,!4Alpha,!2Draft: New permissions
Pipeline #16527 failed with stage
in 11 seconds
......@@ -4,7 +4,7 @@ export function path() {
let path = ".";
if(window.orbit) {
let component = window.orbit.npm.find(e=>e.package==`@startinblox/component-${componentName}`);
path = `https://cdn.skypack.dev/${component.package}@${component.version}/dist`;
path = `https://unpkg.com/${component.package}@${component.version}/dist`;
if(component.path) {
path = component.path.replace('/index.js', '')
}
......@@ -13,7 +13,8 @@ export function path() {
}
export function coreVersion() {
let coreUrl = "https://cdn.skypack.dev/@startinblox/core@beta";
let coreUrl = "https://unpkg.com/@startinblox/core@beta";
// let coreUrl = "http://localhost:3000/dist/index.js";
if(window.orbit) {
let core = window.orbit.npm.find(e=>e.package=='@startinblox/core');
coreUrl += `@${core.version}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment