TiddlyWiki5/core/modules/serverroute
Devin Weaver 1ae3927c28 Module-ize server routes and add static file support (#2510)
* Refactor server routes to modules

New module type: serverroute

Caveats: Loading order is not deterministic but this would only matter
if two route modules attempted to use the same path regexp (that would
be silly).

* Add static assets plugin

This plugin allows the node server to fetch static assets in the /assets
directory. I felt that this was a feature that goes above the core
functionality. That is why I added it as a plugin. with the modular
route extensions this was a breeze.

* Add serverroute description to ModuleTypes
2016-08-08 14:11:47 +01:00
..
delete-tiddlers.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00
get-favicon.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00
get-index.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00
get-status.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00
get-tiddler.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00
get-tiddlers-json.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00
put-tiddler.js Module-ize server routes and add static file support (#2510) 2016-08-08 14:11:47 +01:00