bump
This commit is contained in:
2
main.go
2
main.go
@@ -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)
|
||||
|
Reference in New Issue
Block a user