From c8087abf1cbff1237397e7b205416b2caf02d039 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 19 Oct 2025 12:01:02 -0400 Subject: [PATCH] fix proxy proxying everything bug i don't like poem's router --- src/mirror.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mirror.rs b/src/mirror.rs index f72c2e2..22a2841 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("/*", get(proxy).post(upstream_proxier)); + app = app.at("/did:plc:*", get(proxy).post(upstream_proxier)); } else { - app = app.at("/*", get(proxy).post(nope)); + app = app.at("/did:plc:*", get(proxy).post(nope)); } let app = app -- 2.51.2