mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 12:35:39 +01:00
Fix
This commit is contained in:
@@ -44,7 +44,7 @@ pub async fn get_router() -> Router {
|
||||
let (prometheus_layer, metric_handle) = PrometheusMetricLayer::pair();
|
||||
|
||||
let app_router = Router::new()
|
||||
.route("/upload", post(upload))
|
||||
.route("/upload/", post(upload))
|
||||
.route("/download_by_message/:chat_id/:message_id", get(download))
|
||||
.layer(DefaultBodyLimit::max(BODY_LIMIT))
|
||||
.layer(middleware::from_fn(auth))
|
||||
|
||||
Reference in New Issue
Block a user