bump
This commit is contained in:
parent
2ce73323da
commit
baf7e11ebe
2
main.go
2
main.go
|
@ -75,7 +75,7 @@ func main() {
|
||||||
var d tplData
|
var d tplData
|
||||||
|
|
||||||
s := http.NewServeMux()
|
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) {
|
s.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
d.Body = f.Render(true)
|
d.Body = f.Render(true)
|
||||||
tmpl.Execute(w, d)
|
tmpl.Execute(w, d)
|
||||||
|
|
Loading…
Reference in New Issue