mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-24 05:03:06 +00:00
commit
d7d4699606
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
name = "dioxus-cli"
|
name = "dioxus-cli"
|
||||||
version = "0.1.4"
|
version = "0.1.4"
|
||||||
authors = ["Jonathan Kelley"]
|
authors = ["Jonathan Kelley"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
description = "CLI tool for developing, testing, and publishing Dioxus apps"
|
description = "CLI tool for developing, testing, and publishing Dioxus apps"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
version = "Two"
|
version = "Two"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
imports_granularity = "Crate"
|
imports_granularity = "Crate"
|
||||||
#use_small_heuristics = "Max"
|
#use_small_heuristics = "Max"
|
||||||
#control_brace_style = "ClosingNextLine"
|
#control_brace_style = "ClosingNextLine"
|
||||||
normalize_comments = true
|
normalize_comments = true
|
||||||
format_code_in_doc_comments = true
|
format_code_in_doc_comments = true
|
||||||
|
|
|
@ -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