Merge pull request #831 from SkynetLabs/resolve-skylink-v2-bogus-response

do not exit on error from /resolve
This commit is contained in:
Christopher Schinnerl 2021-06-04 17:09:44 +02:00 committed by GitHub
commit 8e92a8fa19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -394,9 +394,6 @@ server {
local json = require('cjson') local json = require('cjson')
local resolve = json.decode(res.body) local resolve = json.decode(res.body)
ngx.var.skylink_v1 = resolve.skylink ngx.var.skylink_v1 = resolve.skylink
else
ngx.say(res.body)
ngx.exit(res.status)
end end
end end