Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 17:30:32 +01:00
parent 14c38799e3
commit 5d18bd68d8

2
web.go
View file

@ -49,7 +49,7 @@ func (web *WebServer) homepage(w http.ResponseWriter, r *http.Request) {
if uname == nil { if uname == nil {
fmt.Fprintf(w, "Invalid Token") fmt.Fprintf(w, "Invalid Token")
} else { } else {
t, err := template.ParseFiles("mumbledj/index.html") t, err := template.ParseFiles("./index.html")
if err != nil { if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
return return