Fix: stupid llm

This commit is contained in:
Grail Finder
2025-05-01 17:24:15 +03:00
parent b3a730b3dd
commit 6af41f061f
12 changed files with 460 additions and 34 deletions

View File

@ -5,7 +5,11 @@ import (
"net/http"
)
func HandlePing(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("pong"))
}
func HandleHome(w http.ResponseWriter, r *http.Request) {
tmpl := template.Must(template.ParseFiles("templates/public/index.html"))
tmpl := template.Must(template.ParseFiles("components/index.html"))
tmpl.Execute(w, nil)
}