Add the "tiddlywiki" argument to the server start hook (#3592)

* Update Hook__th-server-command-post-start.tid

* Update server.js

* Update listen.js
This commit is contained in:
Arlen22
2018-11-29 09:51:11 +00:00
committed by Jeremy Ruston
parent b18c85b85c
commit 603c564872
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ Command.prototype.execute = function() {
variables: self.params
});
var nodeServer = this.server.listen();
$tw.hooks.invokeHook("th-server-command-post-start",this.server,nodeServer);
$tw.hooks.invokeHook("th-server-command-post-start",this.server,nodeServer,"tiddlywiki");
return null;
};
+1 -1
View File
@@ -46,7 +46,7 @@ Command.prototype.execute = function() {
}
});
var nodeServer = this.server.listen();
$tw.hooks.invokeHook("th-server-command-post-start",this.server,nodeServer);
$tw.hooks.invokeHook("th-server-command-post-start",this.server,nodeServer,"tiddlywiki");
return null;
};