mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
export express app from webserver
This commit is contained in:
@@ -44,6 +44,7 @@ if (nconf.get('ssl')) {
|
||||
}
|
||||
|
||||
module.exports.server = server;
|
||||
module.exports.app = app;
|
||||
|
||||
server.on('error', function (err) {
|
||||
if (err.code === 'EADDRINUSE') {
|
||||
|
||||
Reference in New Issue
Block a user