Skip to content

Commit

Permalink
Remove testing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyak committed Mar 14, 2019
1 parent 18465c6 commit 654d321
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,14 @@ func handleIndexTemplate(w http.ResponseWriter, r *http.Request) {
}

path := strings.Split(strings.TrimLeft(r.URL.Path, "/"), "/")
fmt.Printf("%#v\n", path)
if path[0] == "chat" {
data.Video = false
data.Title += " - chat"

} else if path[0] == "video" {
data.Chat = false
data.Title += " - video"
}

fmt.Println(data)

err = t.Execute(w, data)
if err != nil {
fmt.Printf("[ERR] could not execute file, %v", err)
Expand Down

0 comments on commit 654d321

Please sign in to comment.