temporary https fix for specific sites
This commit is contained in:
parent
77b85701b4
commit
b25fa0fe70
@ -3,6 +3,8 @@ do
|
||||
function run(msg, matches)
|
||||
local url = matches[1]
|
||||
local receiver = get_receiver(msg)
|
||||
local url = string.gsub(url, "https://img.centzilius.de", "http://img.centzilius.de")
|
||||
local url = string.gsub(url, "https://img.pegelf.de", "http://img.pegelf.de")
|
||||
send_photo_from_url(receiver, url)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user