my_modules is simply modules now
This commit is contained in:
parent
295ab39024
commit
e0012c3c62
139 changed files with 187 additions and 197 deletions
10
modules/htmlout/README.md
Normal file
10
modules/htmlout/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
HTMLOut
|
||||
===
|
||||
This module provides a filter() function for [server.js](../../../server.js),
|
||||
our Express-based web server. The function is installed like so:
|
||||
|
||||
app.use(HTMLOut.filter);
|
||||
|
||||
The filter function examines the URL, and if it corresponds to a directory on the server,
|
||||
the function will generate an "index.html" in that directory, based on the contents of a
|
||||
default template file (currently [common.html](../shared/templates/common.html)).
|
||||
Loading…
Reference in a new issue