summaryrefslogtreecommitdiff
path: root/src/api/liveops.rs
blob: d4bf129411120fbf323a1ec00a8e530cc1709908 (plain)
use actix_web::{get, web, HttpResponse, Scope};

/// Simple ping
#[get("/ping")]
async fn ping() -> HttpResponse {
	HttpResponse::Ok().finish()
}

pub fn service() -> Scope {
	web::scope("/liveops").service(ping)
}