added printing of attempted urls

This commit is contained in:
Stephen McQuay 2013-02-06 00:23:04 -08:00
parent 613c8e853d
commit 8e572d69cf
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import (
)
func homeHandler(c http.ResponseWriter, req *http.Request) {
log.Printf("%v\n", req.URL)
t := templates.Lookup("index.html")
if t != nil {
t.Execute(c, req.Host)