feat(server): templating for cluster map is almost done (cluster hardcoded)

This commit is contained in:
Maieul BOYER 2026-02-20 18:42:45 +01:00
parent ac98af1428
commit 5e0a9ded04
Signed by: maix
SSH key fingerprint: SHA256:iqCzqFFF5KjRixmDExqbAltCIj9ndlBWIGJf3t9Ln9g
6 changed files with 173 additions and 5 deletions

View file

@ -36,6 +36,7 @@ use log::info;
use tower_http::trace::TraceLayer;
use tracing_subscriber::EnvFilter;
mod cluster;
mod friends;
mod state;
mod static_;
@ -60,6 +61,7 @@ async fn main() {
let global_state = GlobalState::new();
let app = Router::new()
.merge(cluster::router())
.merge(friends::router())
.merge(user::router())
.merge(static_::router(&global_state))