mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-04-25 06:58:30 -04:00
close server
This commit is contained in:
parent
a3a6c33b32
commit
c15b31b374
2 changed files with 8 additions and 1 deletions
|
@ -92,6 +92,11 @@ function Server(config, callback) {
|
|||
if (typeof callback === "function") {
|
||||
callback(app, io);
|
||||
}
|
||||
|
||||
this.close = function () {
|
||||
server.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Server;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue