summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index af4095b7d..1588896c8 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -101,13 +101,14 @@ impl MainWorker {
options.blob_store.clone(),
options.bootstrap.location.clone(),
),
- deno_fetch::init::<Permissions>(
+ deno_fetch::init::<Permissions, deno_fetch::FsFetchHandler>(
options.user_agent.clone(),
options.root_cert_store.clone(),
None,
None,
options.unsafely_ignore_certificate_errors.clone(),
None,
+ deno_fetch::FsFetchHandler,
),
deno_websocket::init::<Permissions>(
options.user_agent.clone(),