diff --git a/file/files.go b/file/files.go index 947b324..2ab459a 100644 --- a/file/files.go +++ b/file/files.go @@ -18,8 +18,6 @@ func GetFiles(w http.ResponseWriter, r *http.Request) { username := session.Values["name"].(string) - glog.Info(username) - userRepos := strings.Replace(conf.Wide.UserRepos, "{user}", username, -1) data := map[string]interface{}{"succ": true} diff --git a/main.go b/main.go index 135badf..7293e4e 100644 --- a/main.go +++ b/main.go @@ -65,6 +65,8 @@ func main() { http.HandleFunc("/autocomplete", editor.AutocompleteHandler) + glog.Infof("Wide is running [%s]", conf.Wide.Server) + err := http.ListenAndServe(conf.Wide.Server, nil) if err != nil { glog.Fatal(err)