6 lines
233 B
Rust
6 lines
233 B
Rust
use warp::Filter;
|
|
|
|
#[allow(opaque_hidden_inferred_bound)]
|
|
pub fn config() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
|
|
warp::path("status").and(warp::path::end()).and(warp::get()).map(warp::reply)
|
|
}
|