This commit is contained in:
alteredCoder 2022-01-31 12:23:37 +01:00
parent 8569135dfc
commit ec6f12f57d

View file

@ -39,7 +39,9 @@ function M.apply()
end
if M.template_str ~= "" then
ngx.header.content_type = "text/html"
ngx.status = M.ret_code
ngx.say(M.template_str)
return
end
ngx.exit(M.ret_code)