diff --git a/express/app.ts b/express/app.ts index 1aaa046..1dae9f7 100644 --- a/express/app.ts +++ b/express/app.ts @@ -20,7 +20,8 @@ import { methodParser, } from "./types"; -process.title = "express-diachron-app"; + + const app = express(); @@ -120,6 +121,8 @@ app.use(async (req: ExpressRequest, res: ExpressResponse) => { res.status(code).send(result); }); +process.title = `diachron:${cli.listen.port}`; + app.listen(cli.listen.port, cli.listen.host, () => { console.log(`Listening on ${cli.listen.host}:${cli.listen.port}`); });