summaryrefslogtreecommitdiff
path: root/ext/web/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/lib.rs')
-rw-r--r--ext/web/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/web/lib.rs b/ext/web/lib.rs
index f3a22d623..b0dc0d56d 100644
--- a/ext/web/lib.rs
+++ b/ext/web/lib.rs
@@ -109,13 +109,13 @@ deno_core::extension!(deno_web,
"14_compression.js",
"15_performance.js",
],
- config = {
+ options = {
blob_store: BlobStore,
maybe_location: Option<Url>,
},
- state = |state, blob_store, maybe_location| {
- state.put(blob_store);
- if let Some(location) = maybe_location {
+ state = |state, options| {
+ state.put(options.blob_store);
+ if let Some(location) = options.maybe_location {
state.put(Location(location));
}
state.put(StartTime::now());