This commit is contained in:
Nikita Kruglickiy 2021-11-08 21:17:01 +03:00
parent 5c47485f7b
commit a5f7bedf8d

View File

@ -69,7 +69,7 @@ function byteTable(str, start, length)
end end
function isURL(str) function isURL(str)
local _1, _2, prefix = tx:find("^(%w-):") local _1, _2, prefix = str:find("^(%w-):")
return prefix == "http" or prefix == "https" or prefix == "data return prefix == "http" or prefix == "https" or prefix == "data"
end end