mirror of
https://github.com/kepler155c/opus
synced 2025-10-28 06:07:41 +00:00
1.12 fixes
This commit is contained in:
@@ -51,7 +51,7 @@ function urlfs.open(node, fn, fl)
|
||||
|
||||
local c = node.cache
|
||||
if not c then
|
||||
if node.url:match('^([%w][%w%+%-%.]*)%:') == 'rn' then
|
||||
if node.url:match("^(rttps?:)") then
|
||||
local s, response = rttp.get(node.url)
|
||||
c = s and response.statusCode == 200 and response.data
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user