A cloudflare backed DDNS service written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
279 B

extern crate actix_web;
use actix_web::{http, App};
use server;
pub fn create() -> App {
actix_web::App::new()
.resource("/", |r| r.f(server::index))
.resource("/health", |r| {
r.method(http::Method::GET).with(server::healthcheck)
})
}