mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 22:50:19 +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_config = config.clone();
|
||||||
let file_service = ServiceBuilder::new()
|
let file_service = ServiceBuilder::new()
|
||||||
.and_then(
|
.and_then(
|
||||||
|response: Response<ServeFileSystemResponseBody>| async move {
|
move |response: Response<ServeFileSystemResponseBody>| async move {
|
||||||
let response = if file_service_config
|
let response = if file_service_config
|
||||||
.dioxus_config
|
.dioxus_config
|
||||||
.web
|
.web
|
||||||
|
|
Loading…
Reference in a new issue