Update docker/nginx/conf.d/client.conf comment copy
This commit is contained in:
parent
17121721d9
commit
9b09f9ba5c
|
@ -175,7 +175,7 @@ server {
|
||||||
|
|
||||||
-- since /skynet/registry endpoint response is a json, we need to decode it before we access it
|
-- since /skynet/registry endpoint response is a json, we need to decode it before we access it
|
||||||
local registry_json = json.decode(registry_res.body)
|
local registry_json = json.decode(registry_res.body)
|
||||||
-- response will contain hex encoded, we need to decode it
|
-- response will contain a hex encoded skylink, we need to decode it
|
||||||
local data = (registry_json.data:gsub('..', function (cc)
|
local data = (registry_json.data:gsub('..', function (cc)
|
||||||
return string.char(tonumber(cc, 16))
|
return string.char(tonumber(cc, 16))
|
||||||
end))
|
end))
|
||||||
|
|
Reference in New Issue