chore: remove StaticFileProvider field from StaticFileProducer (#8583)

This commit is contained in:
joshieDo
2024-06-04 14:29:26 +02:00
committed by GitHub
parent 60f6657988
commit 6dd8400f12
12 changed files with 50 additions and 134 deletions

View File

@@ -373,7 +373,6 @@ where
factory.clone(),
StaticFileProducer::new(
factory.clone(),
factory.static_file_provider(),
self.prune_modes().unwrap_or_default(),
),
);
@@ -432,7 +431,6 @@ where
pub fn static_file_producer(&self) -> StaticFileProducer<DB> {
StaticFileProducer::new(
self.provider_factory().clone(),
self.static_file_provider(),
self.prune_modes().unwrap_or_default(),
)
}