mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-24 05:03:06 +00:00
force closure to take ownership
This commit is contained in:
parent
f287e75761
commit
bfab711010
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ pub async fn startup(config: CrateConfig) -> Result<()> {
|
|||
let file_service_config = config.clone();
|
||||
let file_service = ServiceBuilder::new()
|
||||
.and_then(
|
||||
|response: Response<ServeFileSystemResponseBody>| async move {
|
||||
move |response: Response<ServeFileSystemResponseBody>| async move {
|
||||
let response = if file_service_config
|
||||
.dioxus_config
|
||||
.web
|
||||
|
|
Loading…
Reference in a new issue