FIx the example to use a correct value
This commit is contained in:
parent
e88b23ebd8
commit
affed3f802
|
@ -76,7 +76,7 @@ configured.
|
||||||
httpd.start({
|
httpd.start({
|
||||||
webroot = "<static file prefix>",
|
webroot = "<static file prefix>",
|
||||||
max_handlers = 20,
|
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({
|
httpd.start({
|
||||||
webroot = "<static file prefix>",
|
webroot = "<static file prefix>",
|
||||||
max_handlers = 20,
|
max_handlers = 20,
|
||||||
auto_index = httpd.INDEX_NONE + httpd.INDEX_ROOT + httpd.INDEX_ALL,
|
auto_index = httpd.INDEX_ALL,
|
||||||
})
|
})
|
||||||
|
|
||||||
function echo_ws(req, ws)
|
function echo_ws(req, ws)
|
||||||
|
|
Loading…
Reference in New Issue