santosh0705 / xterm-express

Xterm Express is a web based terminal which is not just limited to ssh.
MIT License
10 stars 2 forks source link

Update sockets.js - fixes CONFIG_FILE commands #6

Open o0Ghost0o opened 3 years ago

o0Ghost0o commented 3 years ago

This makes sure that uses the commands in the config file given through CONFIG_FILE environment variable, it was using the custom ports and ips, as they are assigned first they do not change because of the socket being initiated, but the commands as they can be overwritten, was using the default config.json inside the xterm-express. I'm using this package to build simple monitors on request, maybe i'll share some usages xD!, thanks btw for this package, really helpfull!!!