Dear Jeremy, Arlen,
I would like to launch TiddlyWiki5 in node.js from an Express application, as Arlen demonstrated some time ago in his code:
Hosting multiple tiddlywikis on Express.
But I am using tiddlywiki pre-release 5.1.14, which includes an enhancement for this integration. From the release notes: "
Refactored server mechanism to make it simpler to integrate TiddlyWiki into ExpressJS apps".
I understand the previous code example is no longer valid after this change, but my knowledge of node.js and express is very basic, and I have not managed to write JS code to successfully require and use the TW server within the Express.js code.
Whenever you have some spare time, could you please post an example of how TW5 should be required, initialized and the
requestHandler function passed to Express app.all()?
Thank you,
Julio