From cdc2e8c14824a5d58154c5df42d1bc79495d69ea Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 14 Mar 2025 13:31:41 +0100 Subject: hosts: :fallback and :none special hosts --- readme.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 507ca34..03bdbc5 100644 --- a/readme.md +++ b/readme.md @@ -95,6 +95,8 @@ themselves; in that case the request is passed on. - **module `hosts`** - Hands over the requests to different modules depending on the `host` header. + Special keys are `:fallback` which handles hosts that are not found in the + map and `:none` to handle requests without a host header. - Takes a map from hostname (string) to handler (module) - **module `paths`** -- cgit v1.2.3-70-g09d2