mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 11:04:05 +01:00
ShrinkUrl: Update API URL, now serving HTTPS links
Source: https://x0.no/api/ For reference, http://api.x0.no/ now redirects to https://x0.no/api/
This commit is contained in:
parent
cd06cc833c
commit
7f13b939f7
@ -229,7 +229,7 @@ class ShrinkUrl(callbacks.PluginRegexp):
|
||||
irc.error(str(e))
|
||||
ur1 = thread(wrap(ur1, ['httpUrl']))
|
||||
|
||||
_x0Api = 'http://api.x0.no/?%s'
|
||||
_x0Api = 'https://x0.no/api/?%s'
|
||||
@retry
|
||||
def _getX0Url(self, url):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user