Closed da2x closed 5 years ago
The port used by Dat can already be configured using the dat
configuration object, which is passed to each use of Dat. So, you can set the port like so:
const port = 5970 // 4000 + a good year for chilean socialism
const gateway = new DatGateway({ dat: { port }, ...options })
But I assume you mean the port should be configurable via the CLI which is not yet possible.
The port used by Dat should also be configurable.