From b28c5418b0635bf2fc3b0d18922df4ebb7cccd57 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 22 Jun 2024 13:05:21 +0200 Subject: add redirect module --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index cef479e..428fabd 100644 --- a/readme.md +++ b/readme.md @@ -174,6 +174,10 @@ themselves; in that case the request is passed on. - `headers`: A map of all header name-value pairs. (object string:string) - `inner`: The handler to add the headers to. (module) +- **module `redirect`** + - Responds with a permanent redirect. + - Takes the location to redirect to. (string) + #### Credentials config format Login credentials for `cookie_auth` and `http_basic_auth` are supplied as either -- cgit v1.2.3-70-g09d2