UNPKG

693 BJSONView Raw
1{
2 "desc": "Serve static files from within a given root directory",
3 "args": [
4 {
5 "$name": "root",
6 "$desc": "Root directory path."
7 }
8 ],
9 "options": [
10 {
11 "$name": "dotfiles",
12 "$desc": "How to treat dotfiles. 'allow', 'deny', or 'ignore'.",
13 "$default": "'ignore'"
14 },
15 {
16 "$name": "etag",
17 "$desc": "Enable or disable etag generation.",
18 "$default": "true"
19 },
20 {
21 "$name": "extensions",
22 "$desc": "Set file extension fallbacks.",
23 "$default": "false"
24 }
25 ],
26 "example": {
27 "args":[
28 "\"public\"",
29 "\"public/html\""
30 ],
31 "options": {
32 "extensions": "['html', 'htm']"
33 }
34 }
35}
\No newline at end of file