From 8f6f51bd48a01c1ac392e814772fb0bfff8baeba Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 17 Oct 2025 18:26:05 -0400 Subject: [PATCH] oops lost the root. nest? --- src/mirror.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mirror.rs b/src/mirror.rs index adddb6c..bd74c35 100644 --- a/src/mirror.rs +++ b/src/mirror.rs @@ -509,8 +509,8 @@ You probably want to change your request to use HTTPS instead of HTTP. } let app = Route::new() - .at("/:any", get(oop_plz_be_secure)) .at("/favicon.ico", get(favicon)) + .nest("/", get(oop_plz_be_secure)) .with(Tracing); Server::new(TcpListener::bind(if ipv6 { "[::]:80" -- 2.51.2