fix dead link
This commit is contained in:
parent
fc8e86bc9a
commit
f53dc248c9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue