Remove debug stuff

This commit is contained in:
Valentin Brandl 2019-07-28 16:49:09 +02:00
parent 63def33286
commit a4490ab53c
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D
2 changed files with 0 additions and 5 deletions

View File

@ -58,7 +58,6 @@ impl CfPurgeRequest {
T::path(), T::path(),
file file
); );
eprintln!("{}", url);
Self { files: vec![url] } Self { files: vec![url] }
} }
} }

View File

@ -122,10 +122,6 @@ fn main() -> Result<()> {
"/github/{file:.*}", "/github/{file:.*}",
web::delete().to_async(purge_cache::<Github>), web::delete().to_async(purge_cache::<Github>),
) )
.route(
"/purge/github/{file:.*}",
web::get().to_async(purge_cache::<Github>),
)
.route( .route(
"/bitbucket/{user}/{repo}/{commit}/{file:.*}", "/bitbucket/{user}/{repo}/{commit}/{file:.*}",
web::get().to_async(handle_request::<Bitbucket>), web::get().to_async(handle_request::<Bitbucket>),