forked from engineering/cloudservices
fix
parent
77e4fb91a3
commit
d82c96db7e
|
@ -11,8 +11,8 @@ export default class CSCLI {
|
|||
public client: Client;
|
||||
|
||||
public servers: {
|
||||
tcp: net.Server,
|
||||
unix: net.Server,
|
||||
tcp?: net.Server,
|
||||
unix?: net.Server,
|
||||
};
|
||||
|
||||
public handlers: Collection<Handler>;
|
||||
|
@ -21,6 +21,7 @@ export default class CSCLI {
|
|||
|
||||
constructor(client: Client) {
|
||||
this.client = client;
|
||||
this.servers = {};
|
||||
this.loadKeys();
|
||||
this.servers.tcp = net.createServer((socket) => {
|
||||
socket.on('data', async (data) => {
|
||||
|
|
Loading…
Reference in New Issue