mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
moved server into a module and actual invocation out of it
This commit is contained in:
parent
a7d9e6b9a3
commit
2b8af11405
3 changed files with 27 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* This module is started with bin/run.sh. It sets up a Express HTTP and a Socket.IO Server.
|
||||
* This module is included by serve.js, which bin/run.sh invokes. It sets up a Express HTTP and a Socket.IO Server.
|
||||
* Static file Requests are answered directly from this module, Socket.IO messages are passed
|
||||
* to MessageHandler and minfied requests are passed to minified.
|
||||
*/
|
||||
|
@ -605,5 +605,5 @@ function init(additionalSetup){
|
|||
|
||||
}
|
||||
|
||||
this.init = init;
|
||||
|
||||
init(function(app, gets, posts, managers, handlers, db){});
|
Loading…
Add table
Add a link
Reference in a new issue