mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-25 20:07:16 +00:00
Merge branch 'DioxusLabs:master' into master
This commit is contained in:
commit
ed77d9d184
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ license = "MIT/Apache-2.0"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
# cli core
|
# cli core
|
||||||
clap = {version = "3.0.14", features = ["derive"]}
|
clap = { version = "3.0.14", features = ["derive"] }
|
||||||
thiserror = "1.0.30"
|
thiserror = "1.0.30"
|
||||||
wasm-bindgen-cli-support = "0.2.79"
|
wasm-bindgen-cli-support = "0.2.79"
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ use axum::{
|
||||||
http::StatusCode,
|
http::StatusCode,
|
||||||
response::IntoResponse,
|
response::IntoResponse,
|
||||||
routing::{get, get_service},
|
routing::{get, get_service},
|
||||||
AddExtensionLayer, Router,
|
Router,
|
||||||
};
|
};
|
||||||
use notify::{RecommendedWatcher, Watcher};
|
use notify::{RecommendedWatcher, Watcher};
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ pub async fn startup(config: CrateConfig) -> Result<()> {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.layer(AddExtensionLayer::new(ws_reload_state))
|
.layer(Extension(ws_reload_state))
|
||||||
.into_make_service(),
|
.into_make_service(),
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
Loading…
Add table
Reference in a new issue