Skip to content

Commit

Permalink
FIx the example to use a correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
pjsg committed Feb 2, 2024
1 parent e88b23e commit affed3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/httpd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
```

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit affed3f

Please sign in to comment.