1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00
TiddlyWiki5/editions/dev/tiddlers
Arlen22 2163302190 Invoke hook when server starts (#3024)
* Invoke hook when server starts

Invokes the `th-server-command-start` hook when the server is started, with the server object as the parameter. This allows adding a WebSocket listener to the server.

* Return the HTTP server from the listen function

Returns the node HTTP server created in the listen function to allow extension

* Add node HTTP server to server-command-start hook

* Change hook to post start in case we add a pre-start hook

* Create Hook__th-server-command-post-start.tid
2018-04-10 21:55:54 +01:00
..
build Docs updates 2017-11-14 12:46:21 +00:00
from Heigele and Jurke Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
from tw5.com Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
images Clean up images for /dev 2014-09-18 20:16:06 +01:00
new Invoke hook when server starts (#3024) 2018-04-10 21:55:54 +01:00
system Remove third party cookies from tiddlywiki.com 2018-03-15 12:54:25 +00:00
HelloThere.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00