diff --git a/index.html b/index.html deleted file mode 100644 index 25d825c..0000000 --- a/index.html +++ /dev/null @@ -1,3 +0,0 @@ -

Hello World

- -sleep timer diff --git a/main.go b/main.go index 34c546d..5ddb0eb 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,6 @@ package main import ( "fmt" - "html/template" "log" "net/http" "time" @@ -22,8 +21,8 @@ func main() { } func rootHandler(w http.ResponseWriter, r *http.Request) { - t, _ := template.ParseFiles("index.html") - t.Execute(w, "bla") + html := `sleep timer` + fmt.Fprintf(w, html) } func auth() *hue.Bridge {