create a serveconfig builder
This commit is contained in:
1 parent
1d395d572f
commit
1be48c4aa8
4 files changed
+74
-39
No files matched your search
@@ -17,12 +17,7 @@ fn main() {
|
||||
.serve(
|
||||
axum::Router::new()
|
||||
.serve_dioxus_application(
|
||||
"Hello, world!",
|
||||
"hello-world",
|
||||
None,
|
||||
None,
|
||||
"",
|
||||
app,
|
||||
ServeConfig::new(app).head(r#"<title>Hello World!</title>"#),
|
||||
)
|
||||
.into_make_service(),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user