added printing of attempted urls
This commit is contained in:
parent
613c8e853d
commit
8e572d69cf
@ -8,6 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func homeHandler(c http.ResponseWriter, req *http.Request) {
|
func homeHandler(c http.ResponseWriter, req *http.Request) {
|
||||||
|
log.Printf("%v\n", req.URL)
|
||||||
t := templates.Lookup("index.html")
|
t := templates.Lookup("index.html")
|
||||||
if t != nil {
|
if t != nil {
|
||||||
t.Execute(c, req.Host)
|
t.Execute(c, req.Host)
|
||||||
|
Loading…
Reference in New Issue
Block a user