added printing of attempted urls
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user