More variants for archive pb format

This commit is contained in:
Dominik Werder
2021-07-19 22:33:39 +02:00
parent 48e0226a4f
commit d1401bffd5
8 changed files with 227 additions and 75 deletions

View File

@@ -220,7 +220,7 @@ async fn http_service_try(req: Request<Body>, node_config: &NodeConfigCached) ->
} else {
Ok(response(StatusCode::METHOD_NOT_ALLOWED).body(Body::empty())?)
}
} else if path == "/api/4/archapp/files" {
} else if path == "/api/4/archapp/files/scan" {
if req.method() == Method::GET {
Ok(archapp_scan_files(req, &node_config).await?)
} else {