remove unused file, fix ngx.exit status issue

This commit is contained in:
moicen
2022-07-06 20:14:53 +08:00
parent af95a54aa1
commit 620bf59ccf
3 changed files with 5 additions and 206 deletions
+1
View File
@@ -54,6 +54,7 @@ local function verifyJwtToken(httpc, token)
else
if 200 ~= res.status then
ngx.log(ngx.ERR, "JWT TOKEN VERIFICATION *ERROR* -> ", err)
ngx.status = res.status
ngx.say(res.body)
ngx.exit(res.status)
end