X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-cluster%2Fsrc%2Fworker.ts;h=6c0aad8c43f340b0df7423eecb7f17deaf835072;hb=6e5d7052fe741b50e68f8614b33d3754be41415f;hp=af25b056351d2d2eedd0a9798f04e65399a27410;hpb=260bb73734384fc982006e15359ca1c43463cc55;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-cluster/src/worker.ts b/examples/typescript/http-server-pool/express-cluster/src/worker.ts index af25b056..6c0aad8c 100644 --- a/examples/typescript/http-server-pool/express-cluster/src/worker.ts +++ b/examples/typescript/http-server-pool/express-cluster/src/worker.ts @@ -50,7 +50,7 @@ class ExpressWorker extends ClusterWorker { ExpressWorker.server = application.listen(port, () => { listenerPort = (ExpressWorker.server.address() as AddressInfo).port console.info( - `⚡️[express server]: Express server is started in cluster worker at http://localhost:${listenerPort}/` + `⚡️[express server]: Express server is started in cluster worker at http://localhost:${listenerPort.toString()}/` ) }) return {