node-http-server
/config.js.dist |
---|
@@ -27,8 +27,19 @@ |
index: 'index.html', |
// The web locations for which sending a directory index is allowed. |
indexing: [ |
'/public/' |
'/js/' |
], |
// Any file matching these regular expressions will be offered. |
accept: [ |
/^.+\.html$/, |
/^.+\.css$/, |
/^.+\.js$/, |
/^.+\.png$/ |
], |
// Any files matching these regular expressions will never be offered. |
refuse: [ |
/^\.bashrc$/ |
], |
// The name of the website. |
name: 'Wizardry and Steamworks', |
}, |