diff --git a/main.go b/main.go index 601a256..50ebf1b 100644 --- a/main.go +++ b/main.go @@ -57,11 +57,10 @@ Options:`) // Default page p := CowyoData{"about", about_page, []string{}, []string{}} p.save(about_page) - fmt.Println(about_page) - var q CowyoData - q.load("SpikySeaSlug") - rebuildTexts(q) + //var q CowyoData + //q.load("SpikySeaSlug") + //rebuildTexts(q) r := gin.Default() r.LoadHTMLGlob("templates/*") diff --git a/websockets.go b/websockets.go index 866c369..b870450 100644 --- a/websockets.go +++ b/websockets.go @@ -41,15 +41,11 @@ func wshandler(w http.ResponseWriter, r *http.Request) { var p CowyoData err = p.load(m.Title) - fmt.Println("LOADED") - fmt.Println(p) if err != nil { panic(err) } if m.UpdateServer { err := p.save(m.TextData) - fmt.Println("SAVED") - fmt.Println(p) if err != nil { panic(err) }