feat: add server list page

This commit is contained in:
2025-12-25 23:57:47 +01:00
parent e7fe00c48d
commit c07d6072fd
18 changed files with 2193 additions and 692 deletions

View File

@@ -10,6 +10,7 @@ mod db;
mod helper;
mod jobs;
mod models;
mod servers;
#[get("/api/hello")]
async fn hello() -> impl Responder {
@@ -47,6 +48,7 @@ async fn main() -> std::io::Result<()> {
.service(auth::is_scp_logged_in)
.service(auth::start_flow)
.service(auth::get_user)
.service(servers::list_servers)
.service(
Files::new("/", "./frontend/dist")
.index_file("index.html")