Skip to content

Commit 2419db5

Browse files
committed
Attempt to fix decoder ring for relative hosted riots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent bf174e3 commit 2419db5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

res/decoder-ring/decoder.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function bundleSubject(bundle) {
3333
const fetcher = new rxjs.BehaviorSubject(Pending.of());
3434
bundleCache.set(bundle, fetcher);
3535

36-
fetch(`/bundles/${bundle}/bundle.js.map`).then((res) => {
36+
fetch(`../bundles/${bundle}/bundle.js.map`).then((res) => {
3737
res.body.cancel(); /* Bail on the download immediately - it could be big! */
3838
const status = res.ok;
3939
if (status) {
@@ -211,7 +211,7 @@ function BundlePicker() {
211211
setFileFetchStatus(None);
212212
return;
213213
}
214-
const observable = fetchAsSubject(`/bundles/${bundle}/${file}.map`)
214+
const observable = fetchAsSubject(`../bundles/${bundle}/${file}.map`)
215215
.pipe(
216216
rxjs.operators.map((fetchStatus) => fetchStatus.flatMap(value => {
217217
try {

0 commit comments

Comments
 (0)