connect masters

This commit is contained in:
yggverse 2026-03-05 16:08:31 +02:00
parent af0c69c4c5
commit 204b64a4f9
3 changed files with 9 additions and 4 deletions

View file

@ -23,8 +23,10 @@ fn index(meta: &State<Meta>, global: &State<Global>) -> Result<Template, Status>
Ok(Template::render(
"index",
context! {
title: &meta.title,
masters: &global.masters,
servers: servers,
title: &meta.title,
version: &meta.version,
},
))
}
@ -48,6 +50,7 @@ fn rocket() -> _ {
})
.manage(Global {
format_time: config.format_time,
masters: config.masters,
})
.manage(Meta {
description: config.description,