From a4490ab53c49c18bc1e30ef79a181973afac42f5 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 28 Jul 2019 16:49:09 +0200 Subject: [PATCH] Remove debug stuff --- backend/src/cdn.rs | 1 - backend/src/main.rs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/backend/src/cdn.rs b/backend/src/cdn.rs index 375a68f..68a1552 100644 --- a/backend/src/cdn.rs +++ b/backend/src/cdn.rs @@ -58,7 +58,6 @@ impl CfPurgeRequest { T::path(), file ); - eprintln!("{}", url); Self { files: vec![url] } } } diff --git a/backend/src/main.rs b/backend/src/main.rs index 98388a2..25d67bd 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -122,10 +122,6 @@ fn main() -> Result<()> { "/github/{file:.*}", web::delete().to_async(purge_cache::), ) - .route( - "/purge/github/{file:.*}", - web::get().to_async(purge_cache::), - ) .route( "/bitbucket/{user}/{repo}/{commit}/{file:.*}", web::get().to_async(handle_request::),