update
This commit is contained in:
parent
8569135dfc
commit
ec6f12f57d
1 changed files with 2 additions and 0 deletions
|
@ -39,7 +39,9 @@ function M.apply()
|
||||||
end
|
end
|
||||||
if M.template_str ~= "" then
|
if M.template_str ~= "" then
|
||||||
ngx.header.content_type = "text/html"
|
ngx.header.content_type = "text/html"
|
||||||
|
ngx.status = M.ret_code
|
||||||
ngx.say(M.template_str)
|
ngx.say(M.template_str)
|
||||||
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
ngx.exit(M.ret_code)
|
ngx.exit(M.ret_code)
|
||||||
|
|
Loading…
Add table
Reference in a new issue