From affed3f802c2c9a61cde3e48f646add6ac4863a6 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Fri, 2 Feb 2024 17:50:32 -0500 Subject: [PATCH] FIx the example to use a correct value --- docs/modules/httpd.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/httpd.md b/docs/modules/httpd.md index b64433d0..1ac118d3 100644 --- a/docs/modules/httpd.md +++ b/docs/modules/httpd.md @@ -76,7 +76,7 @@ configured. httpd.start({ webroot = "", max_handlers = 20, - auto_index = httpd.INDEX_NONE || httpd.INDEX_ROOT || httpd.INDEX_ALL, + auto_index = httpd.INDEX_ALL, }) ``` @@ -288,7 +288,7 @@ nil httpd.start({ webroot = "", max_handlers = 20, - auto_index = httpd.INDEX_NONE + httpd.INDEX_ROOT + httpd.INDEX_ALL, + auto_index = httpd.INDEX_ALL, }) function echo_ws(req, ws)