mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Close repsonse on halt (#246)
This commit is contained in:
parent
749c101d2e
commit
7688bd13a5
1 changed files with 1 additions and 0 deletions
|
@ -73,5 +73,6 @@ end
|
|||
macro halt(env, status_code = 200, response = "")
|
||||
{{env}}.response.status_code = {{status_code}}
|
||||
{{env}}.response.print {{response}}
|
||||
{{env}}.response.close
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue