feat(server): templating for cluster map is almost done (cluster hardcoded)
This commit is contained in:
parent
ac98af1428
commit
5e0a9ded04
6 changed files with 173 additions and 5 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue