This commit is contained in:
midoks
2022-10-22 16:29:11 +08:00
parent 96275303c6
commit b3d0a36dcd
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
# These are supported funding model platforms
github: midoks
custom: https://afdian.net/a/mdserver-web
+3 -1
View File
@@ -240,7 +240,9 @@ end
function _M.return_html(self, status, html)
ngx.header.content_type = "text/html"
ngx.say(html)
if status == 200 then
ngx.say(html)
end
ngx.exit(status)
end