pcjs/modules/htmlout
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Parsons 1ca377fb68 Updated MarkOut and HTMLOut components to use embedPC() with the new 'parms' parameter instead of the old 'state' parameter.
This allows us to continue using the Node web server to debug machines that are launched using new YAML-based Markdown machines settings, the most important being 'automount' (otherwise those machines might not be loaded with the correct disks)
2016-01-19 11:49:30 -08:00
..
bin v1.16.5: Getting ready for 2015 2014-12-29 23:06:28 -08:00
lib Updated MarkOut and HTMLOut components to use embedPC() with the new 'parms' parameter instead of the old 'state' parameter. 2016-01-19 11:49:30 -08:00
package.json my_modules is simply modules now 2014-11-11 08:19:48 -08:00
README.md my_modules is simply modules now 2014-11-11 08:19:48 -08:00

HTMLOut

This module provides a filter() function for 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).