Skip to content

Commit

Permalink
remove unneeded html template
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonko committed Mar 13, 2017
1 parent 65d765b commit c0c797a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions index.html

This file was deleted.

5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"fmt"
"html/template"
"log"
"net/http"
"time"
Expand All @@ -22,8 +21,8 @@ func main() {
}

func rootHandler(w http.ResponseWriter, r *http.Request) {
t, _ := template.ParseFiles("index.html")
t.Execute(w, "bla")
html := `<a href="/sleepTimer">sleep timer</a>`
fmt.Fprintf(w, html)
}

func auth() *hue.Bridge {
Expand Down

0 comments on commit c0c797a

Please sign in to comment.