We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68986ba commit e715959Copy full SHA for e715959
src/components/tools/lively-container.js
@@ -234,7 +234,7 @@ export default class Container extends Morph {
234
url = new URL(this.normalizeURL(path));
235
// url.pathname = lively.paths.normalize(url.pathname);
236
path = "" + url;
237
- } else if (path.match(/^[a-zA-Z]+:\/\//)) {
+ } else if (path.match(/^[a-zA-Z]+:/)) {
238
url = new URL(path)
239
var other = true
240
} else {
@@ -540,7 +540,7 @@ export default class Container extends Morph {
540
if (!path) return;
541
if (files.isURL(path)) {
542
return new URL(path);
543
- } if (path.match(/^[a-zA-Z]+:\/\//)) {
+ } if (path.match(/^[a-zA-Z]+:/)) {
544
545
546
return new URL("https://lively4/" + path);
0 commit comments