diff --git a/filed/src/web/forms.rs b/filed/src/web/forms.rs index cd94914..f25d30c 100644 --- a/filed/src/web/forms.rs +++ b/filed/src/web/forms.rs @@ -307,7 +307,8 @@ pub async fn upload(form: FormData, ip: Option, state: SharedState) -> R } pub fn get_routes(state: SharedState) -> impl Filter + Clone { - warp::post() + warp::path("upload") + .and(warp::post()) .and(warp::multipart::form()) .and(real_ip(vec![state.env.proxy_addr])) .and(