Skip to content

Commit a4fb8f5

Browse files
committed
fetcher
1 parent f593dd3 commit a4fb8f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vault/vault.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class Vault {
8080
enableDevtools: this.options.enableDevtools,
8181
});
8282
this.emitter = mitt();
83-
this.remoteFetcher = createFetchHelper(this, this.options.customFetcher, {
83+
this.remoteFetcher = createFetchHelper(this, this.options.customFetcher || defaultFetcher, {
8484
actionListFromResource: this.getActionListFromResource(),
8585
}) as any;
8686
this.staticFetcher = createFetchHelper(this, (id: string, json: any) => json, {

0 commit comments

Comments
 (0)