Skip to content

Commit

Permalink
Merge pull request #610 from radaiming/trim_space_in_cookie
Browse files Browse the repository at this point in the history
main: trim spaces in config.Cookie
  • Loading branch information
iawia002 authored Feb 10, 2020
2 parents 9f6dfcb + 592c636 commit 33f16ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func main() {
color.Red("%v", err)
return
}
config.Cookie = string(data)
config.Cookie = strings.TrimSpace(string(data))
}
}
var isErr bool
Expand Down

0 comments on commit 33f16ef

Please sign in to comment.