Skip to content

Commit f5c64e1

Browse files
committed
add storageUrl as a prefix for filename / container
1 parent 4133edb commit f5c64e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

solid/js/launcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ window.addEventListener("simply-content-loaded", function() {
271271
const { TypeIndexParser, SolidType } = SolidTypeIndexParser;
272272
var typeIndexUrl = api.url + typeIndex;
273273
const parser = new TypeIndexParser({ typeIndexUrl });
274-
const solidType = new SolidType(resourceClass, filename)
274+
const solidType = new SolidType(resourceClass, storageUrl + filename)
275275
parser.turtleToTypeIndexDoc(turtle)
276276
.then(function(doc) {
277277
doc.addType(solidType);
@@ -306,7 +306,7 @@ window.addEventListener("simply-content-loaded", function() {
306306
const { TypeIndexParser, SolidType } = SolidTypeIndexParser;
307307
var typeIndexUrl = api.url + typeIndex;
308308
const parser = new TypeIndexParser({ typeIndexUrl });
309-
const solidType = new SolidType(resourceClass, undefined, container)
309+
const solidType = new SolidType(resourceClass, undefined, storageUrl + container)
310310
parser.turtleToTypeIndexDoc(turtle)
311311
.then(function(doc) {
312312
doc.addType(solidType);

0 commit comments

Comments
 (0)