support configuring the port
This commit is contained in:
@@ -56,7 +56,7 @@ async function run(options: RunOptions = {}) {
|
||||
);
|
||||
}
|
||||
|
||||
const port = options.port || 3456;
|
||||
const port = config.PORT || 3456;
|
||||
|
||||
// Save the PID of the background process
|
||||
savePid(process.pid);
|
||||
|
||||
Reference in New Issue
Block a user