repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build(deps): bump fastify
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-hybrid
/
src
/
fastify-worker.ts
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts
b/examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts
index 28bf2a01f1cb0d15aff9b86d3bbbeed98c9bd808..0f4f6370b4c5249a2dfc8f2b4169d0245bbdda68 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts
@@
-42,7
+42,7
@@
ClusterWorkerResponse
await FastifyWorker.fastify.listen({ port })
return {
status: true,
- port: (FastifyWorker.fastify.server.address() as AddressInfo)
?
.port
+ port: (FastifyWorker.fastify.server.address() as AddressInfo).port
}
}