mirror of
https://code.dumpstack.io/tools/wi.git
synced 2025-04-30 09:18:29 +00:00
Use https protocol instead of http as default scheme
This commit is contained in:
parent
50b0c0a520
commit
b598bbdfc8
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func Get(db *sql.DB, url string) {
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
|
|
||||||
if !strings.Contains(url, "://") {
|
if !strings.Contains(url, "://") {
|
||||||
url = "http://" + url
|
url = "https://" + url
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Full url encoding
|
// TODO Full url encoding
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue