surrealpatch/src/net/status.rs

6 lines
194 B
Rust
Raw Normal View History

2020-06-29 15:36:01 +00:00
use warp::Filter;
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)
}