html -> gohtml

master
serr 2025-03-27 15:46:38 +03:00
parent 4ab942b0b7
commit 5a0d149d38
2 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (a *App) setupRouter() *http.ServeMux {
// Обработчик главной страницы
func (a *App) handleMainPage(w http.ResponseWriter, r *http.Request) {
tmplName := "main.html"
tmplName := "main" + cfg.TemplatesExt
context := map[string]any{
"timestamp": a.startTime,
}