Skip to content

Commit 48ff671

Browse files
committed
Revert "change warp to axum"
This reverts commit 02e7240.
1 parent 02e7240 commit 48ff671

File tree

8 files changed

+364
-343
lines changed

8 files changed

+364
-343
lines changed

Cargo.lock

Lines changed: 31 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ path = "src/main.rs"
1919

2020
[dependencies]
2121
entity = { path = "../entity" }
22-
axum = { version = "0.8.5", features = ["multipart"] }
2322
# web
2423
hyper = { workspace = true, features = ["stream", "server", "http1", "http2", "tcp"] }
2524
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "io-std", "sync", "time", "tokio-macros"] }

server/src/acme.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,10 @@ impl ACMEManager {
466466
for domain in &config.domains {
467467
if let Some(alias) = domain.alias.as_ref() {
468468
if !alias.is_empty() {
469-
alias_map.insert(domain.domain.clone(), alias.to_vec());
469+
alias_map.insert(
470+
domain.domain.clone(),
471+
alias.to_vec(),
472+
);
470473
}
471474
}
472475
}

0 commit comments

Comments
 (0)