feat: show version on website

Signed-off-by: skidoodle <contact@albert.lol>
This commit is contained in:
2026-01-19 01:31:28 +01:00
parent 2bcf339408
commit f0336b21b8
6 changed files with 39 additions and 4 deletions
+3 -2
View File
@@ -39,8 +39,9 @@ func (app *App) Routes() *http.ServeMux {
func (app *App) HandleHome(writer http.ResponseWriter, request *http.Request) {
err := app.Tmpl.ExecuteTemplate(writer, "layout", map[string]any{
"MaxMB": app.Conf.MaxMB,
"Host": request.Host,
"MaxMB": app.Conf.MaxMB,
"Host": request.Host,
"Version": Version,
})
if err != nil {