Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 17:35:03 +01:00
parent 2606fc4cb9
commit e1ccad1358

2
web.go
View file

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