diff --git a/src/modules/app.ts b/src/modules/app.ts index 5c5636a..b88814c 100644 --- a/src/modules/app.ts +++ b/src/modules/app.ts @@ -12,12 +12,12 @@ export async function start() { logger: true, }); - await app.listen({ port: 80, host: "0.0.0.0" }); - app.get("/", (req, res) => { res.send(Buffer.from(keyPair.publicKey).toString("hex")); }); + await app.listen({ port: 80, host: "0.0.0.0" }); + const address = app.server.address() as AddressInfo; log.info("HTTP/App Server started on ", `${address.address}:${address.port}`);