This commit is contained in:
Your Name 2024-02-19 12:03:57 -05:00
parent 2ce73323da
commit baf7e11ebe
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ func main() {
var d tplData
s := http.NewServeMux()
s.HandleFunc("/style.css", http.FileServer(http.Dir("./")).ServeHTTP)
s.HandleFunc("style.css", http.FileServer(http.Dir("./")).ServeHTTP)
s.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
d.Body = f.Render(true)
tmpl.Execute(w, d)