[TW5] Is it possible to add a route to the Server command?

25 views
Skip to first unread message

Devin Weaver

unread,
Jan 19, 2016, 10:34:48 PM1/19/16
to TiddlyWikiDev
I was playing with a plugin which sends post data to my local server. In production it serve the static TiddlyWiki HTML file and handles other POST requests differently.

However in development I'm running the tiddlywiki server command so that I can load the tiddlywiki page in the browser and start editing tiddlers. Unfortunately this means that POST requests to a different route then defined in the server command return a 404.

Is is possible to add a node only plugin that adds a route to the SimpleServer that gets spawned when tiddlywiki executes the server command?
Reply all
Reply to author
Forward
0 new messages