fix local var problem
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ local url_parser = require "net.url"
|
|||||||
|
|
||||||
local _M = {}
|
local _M = {}
|
||||||
|
|
||||||
function host(s)
|
function _M.host(s)
|
||||||
return (s.."/"):match("://(.-)/")
|
return (s.."/"):match("://(.-)/")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user