Add base server
This commit is contained in:
virtweb_backend
5
virtweb_backend/src/controllers/server_controller.rs
Normal file
5
virtweb_backend/src/controllers/server_controller.rs
Normal file
@ -0,0 +1,5 @@
|
||||
use actix_web::{HttpResponse, Responder};
|
||||
|
||||
pub async fn root_index() -> impl Responder {
|
||||
HttpResponse::Ok().body("Hello world!")
|
||||
}
|
Reference in New Issue
Block a user