mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Improve helper doc
This commit is contained in:
parent
b91f8a87eb
commit
d0e04918c3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ end
|
||||||
# Static server also have some advanced customization options like `dir_listing` and
|
# Static server also have some advanced customization options like `dir_listing` and
|
||||||
# `gzip`.
|
# `gzip`.
|
||||||
#
|
#
|
||||||
# server_static {"gzip" => true, "dir_listing" => false}
|
# serve_static {"gzip" => true, "dir_listing" => false}
|
||||||
def serve_static(status : (Bool | Hash))
|
def serve_static(status : (Bool | Hash))
|
||||||
Kemal.config.serve_static = status
|
Kemal.config.serve_static = status
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue