Can get domains list

This commit is contained in:
2023-10-09 19:16:33 +02:00
parent b69c97e6fe
commit 908b0f4c56
4 changed files with 49 additions and 0 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/list", web::get().to(vm_controller::list_all))
.route("/api/vm/{uid}", web::get().to(vm_controller::get_single))
})
.bind(&AppConfig::get().listen_address)?