dc09bin/src/pages.rs

9 lines
206 B
Rust
Raw Normal View History

2024-02-22 12:22:40 +04:00
use ntex::web::{self, HttpResponse};
#[web::get("/")]
pub async fn index() -> HttpResponse {
HttpResponse::Ok()
.content_type("text/html; charset=utf-8")
.body("<h1>dc09's bin</h1>")
}