@thzero/library_server_fastify 0.15.38 → 0.15.42
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 +1 -0
- package/package.json +3 -3
- package/routes/admin/index.js +1 -1
- package/routes/home.js +1 -1
- package/routes/plans.js +1 -3
package/boot/index.js
CHANGED
|
@@ -35,6 +35,7 @@ class FastifyBootMain extends BootMain {
|
|
|
35
35
|
|
|
36
36
|
let http2 = this._appConfig.get('http2', false);
|
|
37
37
|
http2 = http2 === 'true' ? true : false;
|
|
38
|
+
this.loggerServiceI.info2(`config.http2.override: ${http2}`);
|
|
38
39
|
|
|
39
40
|
// const fastify = Fastify({ serverFactory, logger: true });
|
|
40
41
|
const fastify = Fastify({
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server_fastify",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.42",
|
|
5
5
|
"version_major": 0,
|
|
6
6
|
"version_minor": 15,
|
|
7
|
-
"version_patch":
|
|
8
|
-
"version_date": "
|
|
7
|
+
"version_patch": 42,
|
|
8
|
+
"version_date": "05/28/2022",
|
|
9
9
|
"description": "An opinionated library of common functionality to bootstrap a Fastify based API application.",
|
|
10
10
|
"author": "thZero",
|
|
11
11
|
"license": "MIT",
|
package/routes/admin/index.js
CHANGED
package/routes/home.js
CHANGED
package/routes/plans.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import LibraryConstants from '@thzero/library_server/constants';
|
|
2
2
|
|
|
3
|
-
import Utility from '@thzero/library_common/utility';
|
|
4
|
-
|
|
5
3
|
import BaseRoute from './index';
|
|
6
4
|
|
|
7
5
|
class PlansRoute extends BaseRoute {
|
|
@@ -22,7 +20,7 @@ class PlansRoute extends BaseRoute {
|
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
_initializeRoutes(router) {
|
|
25
|
-
router.get(this._join('
|
|
23
|
+
router.get(this._join(''),
|
|
26
24
|
// eslint-disable-next-line
|
|
27
25
|
async (request, reply) => {
|
|
28
26
|
// const service = this._injector.getService(LibraryConstants.InjectorKeys.SERVICE_PLANS);
|