Fixing build issues
This commit is contained in:
parent
2606fc4cb9
commit
e1ccad1358
2
web.go
2
web.go
|
@ -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
|
||||
|
|
Reference in a new issue