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)