Skip to content

Commit

Permalink
Default to https instead of http
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc committed Jun 17, 2020
1 parent 6c78999 commit e3a5234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htp.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type options struct {
func main() {
opts := parseArgs()
if strings.Index(opts.host, "://") == -1 {
opts.host = "http://" + opts.host
opts.host = "https://" + opts.host
}

logger := log.New(os.Stderr, "", 0)
Expand Down

0 comments on commit e3a5234

Please # to comment.