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