node-http-server – Diff between revs 17 and 20

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 17 Rev 20
Line 25... Line 25...
25 site: { 25 site: {
26 // The document index that will be served when a directory is requested. 26 // The document index that will be served when a directory is requested.
27 index: 'index.html', 27 index: 'index.html',
28 // The web locations for which sending a directory index is allowed. 28 // The web locations for which sending a directory index is allowed.
29 indexing: [ 29 indexing: [
30 '/public/' 30 '/js/'
-   31 ],
-   32 // Any file matching these regular expressions will be offered.
-   33 accept: [
-   34 /^.+\.html$/,
-   35 /^.+\.css$/,
-   36 /^.+\.js$/,
-   37 /^.+\.png$/
-   38 ],
-   39 // Any files matching these regular expressions will never be offered.
-   40 refuse: [
-   41 /^\.bashrc$/
31 ], 42 ],
32 // The name of the website. 43 // The name of the website.
33 name: 'Wizardry and Steamworks', 44 name: 'Wizardry and Steamworks',
34 }, 45 },
35 ssl: { 46 ssl: {