diff --git a/Cargo.lock b/Cargo.lock index a973587..e1a121b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ dependencies = [ [[package]] name = "allegedly" -version = "0.3.2" +version = "0.3.3" dependencies = [ "anyhow", "async-compression", diff --git a/Cargo.toml b/Cargo.toml index c686bf2..ef2a063 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "allegedly" description = "public ledger server tools and services (for the PLC)" license = "MIT OR Apache-2.0" -version = "0.3.2" +version = "0.3.3" edition = "2024" default-run = "allegedly" diff --git a/src/mirror.rs b/src/mirror.rs index bd74c35..f72c2e2 100644 --- a/src/mirror.rs +++ b/src/mirror.rs @@ -431,9 +431,9 @@ pub async fn serve( .with(GovernorMiddleware::new(did_limiter)) .with(GovernorMiddleware::new(ip_limiter)); - app = app.at("/:any", get(proxy).post(upstream_proxier)); + app = app.at("/*", get(proxy).post(upstream_proxier)); } else { - app = app.at("/:any", get(proxy).post(nope)); + app = app.at("/*", get(proxy).post(nope)); } let app = app