Browse Source

Remove not useful, unhelpful and scary error

pull/1490/head
Gabe Kangas 4 years ago
parent
commit
04dc5b4451
  1. 2
      controllers/admin/index.go

2
controllers/admin/index.go

@ -30,8 +30,6 @@ func ServeAdmin(w http.ResponseWriter, r *http.Request) { @@ -30,8 +30,6 @@ func ServeAdmin(w http.ResponseWriter, r *http.Request) {
path = filepath.Join(path, "index.html")
} else if _, err := fs.Stat(adminFiles, path+"index.html"); err == nil {
path = filepath.Join(path, "index.html")
} else if err != nil {
log.Errorln(err)
}
f, err := adminFiles.Open(path)

Loading…
Cancel
Save