Can get domain info

This commit is contained in:
2023-10-04 19:03:20 +02:00
parent 2bc64442f4
commit ce393995f9
6 changed files with 154 additions and 13 deletions

View File

@ -136,6 +136,7 @@ async fn main() -> std::io::Result<()> {
)
// Virtual machines controller
.route("/api/vm/create", web::post().to(vm_controller::create))
.route("/api/vm/{uid}", web::get().to(vm_controller::get_single))
})
.bind(&AppConfig::get().listen_address)?
.run()