@thzero/library_server_fastify 0.16.4 → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/boot/index.js +4 -1
- package/package.json +2 -2
package/boot/index.js
CHANGED
|
@@ -326,7 +326,10 @@ class FastifyBootMain extends BootMain {
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
_initAppListen(app, server, address, port, err) {
|
|
329
|
-
|
|
329
|
+
const options = { port: port };
|
|
330
|
+
if (address)
|
|
331
|
+
options.host = address;
|
|
332
|
+
app.listen(options, err);
|
|
330
333
|
}
|
|
331
334
|
|
|
332
335
|
async _initAppPost(app, args) {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server_fastify",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.5",
|
|
5
5
|
"version_major": 0,
|
|
6
6
|
"version_minor": 16,
|
|
7
|
-
"version_patch":
|
|
7
|
+
"version_patch": 5,
|
|
8
8
|
"version_date": "08/28/2022",
|
|
9
9
|
"description": "An opinionated library of common functionality to bootstrap a Fastify based API application.",
|
|
10
10
|
"author": "thZero",
|