fix dead link

This commit is contained in:
blek 2023-10-21 12:26:53 +10:00
parent fc8e86bc9a
commit f53dc248c9
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ pub async fn passworded(state: SharedState) -> Result<Html<String>, Rejection> {
} }
pub fn passworded_f(state: SharedState) -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone { pub fn passworded_f(state: SharedState) -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone {
warp::path!("password-files") warp::path!("passworded-files")
.and(warp::path::end()) .and(warp::path::end())
.map(move || state.clone()) .map(move || state.clone())
.and_then(passworded) .and_then(passworded)