mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
21 lines
301 B
JavaScript
21 lines
301 B
JavaScript
|
var _ = require("lodash");
|
||
|
var connect = require("connect");
|
||
|
|
||
|
module.exports = Shout;
|
||
|
|
||
|
/**
|
||
|
* @class
|
||
|
*/
|
||
|
function Shout() {
|
||
|
this.listen();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @public
|
||
|
*/
|
||
|
Shout.prototype.listen = function() {
|
||
|
var http = connect()
|
||
|
.use(connect.static("client"))
|
||
|
.listen(9000);
|
||
|
};
|