@wbg-mde/express-io
Version:
MDE communication channel with Socket IO and express.
19 lines • 461 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const app_1 = require("./app");
class Server {
constructor() {
this.PORT = 4646;
this.startApp();
}
startApp() {
app_1.default.listen(this.PORT, () => {
console.log('MDE Socket!');
});
}
}
exports.Server = Server;
if (process.env.NODE_ENV === 'dev') {
new Server();
}
//# sourceMappingURL=server.js.map