html -> gohtml
parent
4ab942b0b7
commit
5a0d149d38
2
main.go
2
main.go
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue