septastic/web/src/controllers/index.rs
Nicholas Orlowsky 3f68335eb4
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 39s
cleanup and filter support
2026-02-21 15:26:48 -05:00

10 lines
288 B
Rust

use crate::{
session_middleware::{SessionResponder, SessionResponse},
templates::IndexTemplate,
};
use actix_web::{Responder, get};
#[get("/")]
async fn get_index_html(resp: SessionResponse) -> impl Responder {
resp.respond("Home", "SEPTASTIC Home Page", IndexTemplate {})
}