From a76076b730cb3efa2c9ae35fd946945f10577b60 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 18 Nov 2023 03:25:27 -0500 Subject: [PATCH] fix: register s5 --- src/backend/worker.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/worker.ts b/src/backend/worker.ts index ab83fd8..0fd804c 100644 --- a/src/backend/worker.ts +++ b/src/backend/worker.ts @@ -2,11 +2,13 @@ import { createClient as createDnsClient } from "@lumeweb/kernel-dns-client"; import { ProviderManager } from "./providerManager.js"; import IPFSProvider from "./providers/ipfs.js"; import URLRewriteFilter from "./filters/urlRewrite.js"; +import S5Provider from "@/backend/providers/s5.ts"; const dnsClient = createDnsClient(); const providerManager = new ProviderManager(); providerManager.register(new IPFSProvider()); +providerManager.register(new S5Provider()); providerManager.processor.registerFilter(new URLRewriteFilter()); globalThis.postMessage = async (...args) => {