diff --git a/backend/src/main.rs b/backend/src/main.rs index 25d67bd..98388a2 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -122,6 +122,10 @@ 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::),