Skip to content

Commit a8c2537

Browse files
committed
fixed git.io shorting issue
1 parent 14ff806 commit a8c2537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudbot/util/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class Gitio(Shortener):
309309
def shorten(self, url, custom=None, key=None):
310310
p = {"url": url, "code": custom}
311311
try:
312-
r = requests.post("http://git.io", data=p)
312+
r = requests.post("https://git.io", data=p)
313313
r.raise_for_status()
314314
except HTTPError as e:
315315
r = e.response

0 commit comments

Comments
 (0)