diff --git a/src/backends/fetch.ts b/src/backends/fetch.ts index 20093067..9fd79dbd 100644 --- a/src/backends/fetch.ts +++ b/src/backends/fetch.ts @@ -106,7 +106,7 @@ export class FetchFS extends IndexFS { baseUrl += '/'; } - super(typeof index != 'string' ? index : fetchFile((baseUrl + index).replaceAll('//', '/'), 'json', requestInit)); + super(typeof index != 'string' ? index : fetchFile(index, 'json', requestInit)); this.baseUrl = baseUrl; this.requestInit = requestInit;