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
|
||||
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)
|
||||
return string.char(tonumber(cc, 16))
|
||||
end))
|
||||
|
|
Reference in New Issue