Use https protocol instead of http as default scheme
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user