VirtWeb/virtweb_backend/src/controllers/server_controller.rs

6 lines
135 B
Rust
Raw Normal View History

2023-09-02 06:07:06 +00:00
use actix_web::{HttpResponse, Responder};
pub async fn root_index() -> impl Responder {
HttpResponse::Ok().body("Hello world!")
}