FIx the example to use a correct value

This commit is contained in:
Philip Gladstone 2024-02-02 17:50:32 -05:00
parent e88b23ebd8
commit affed3f802
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ configured.
httpd.start({
webroot = "<static file prefix>",
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 = "<static file prefix>",
max_handlers = 20,
auto_index = httpd.INDEX_NONE + httpd.INDEX_ROOT + httpd.INDEX_ALL,
auto_index = httpd.INDEX_ALL,
})
function echo_ws(req, ws)