Skip to content

Commit c84b80a

Browse files
committed
Expose server to subclasses in FastifyServer
1 parent eee115f commit c84b80a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strontium",
3-
"version": "2.9.2",
3+
"version": "2.9.3",
44
"description": "Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects.",
55
"main": "lib/src/index.js",
66
"types": "lib/src/index.d.ts",

src/http/drivers/FastifyServer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { isObject } from "../../validation"
1313
import { EndpointController } from ".."
1414

1515
export class FastifyServer implements Process {
16-
private server: Fastify.FastifyInstance = Fastify()
17-
private isAlive: boolean = false
16+
protected server: Fastify.FastifyInstance = Fastify()
17+
protected isAlive: boolean = false
1818

1919
constructor(
2020
public routes: RouterMap,

0 commit comments

Comments
 (0)