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 
<https://gist.github.com/Arlen22/bbd852f68e328165e49f>.

But I am using tiddlywiki pre-release 5.1.14, which includes an enhancement 
for this integration. From the release notes: "Refactored server mechanism 
<https://github.com/Jermolene/TiddlyWiki5/pull/2627> 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

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9bb56cc8-2ebd-4b22-8b33-fbad93b1a982%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to