move the /logs route to the /logs/stream route

This commit is contained in:
Tamo 2024-02-07 12:13:57 +01:00 committed by Louis Dureuil
parent f3c34d5b8c
commit ceb211c515
No known key found for this signature in database
4 changed files with 19 additions and 19 deletions

View file

@ -26,7 +26,7 @@ use crate::LogRouteHandle;
pub fn configure(cfg: &mut web::ServiceConfig) {
cfg.service(
web::resource("")
web::resource("stream")
.route(web::post().to(SeqHandler(get_logs)))
.route(web::delete().to(SeqHandler(cancel_logs))),
);