Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Delete logger output that slipped into commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Oct 10, 2020
1 parent 47f3bf8 commit d8830f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ui/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ func NewWindow(doRestart chan bool, app *tview.Application, session *discordgo.S
for _, url := range urlMatches {
header, _ := http.Head(url)

log.Println(header.Header.Get("Content-Type"))
//A website! Any other text/ could be a file, like .txt, .css or whatever.
//Is there a more bulletproof way to doing this?
if strings.Contains(header.Header.Get("Content-Type"), "text/html") {
Expand Down

0 comments on commit d8830f9

Please sign in to comment.