tools
/
wi
1
0
Fork 0

Use https protocol instead of http as default scheme

master
dump_stack() 2016-07-27 21:36:37 +03:00
parent 50b0c0a520
commit b598bbdfc8
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func Get(db *sql.DB, url string) {
client := &http.Client{}
if !strings.Contains(url, "://") {
url = "http://" + url
url = "https://" + url
}
// TODO Full url encoding