From b633666362bb7c9bdf3967dd4fb006a4349056a0 Mon Sep 17 00:00:00 2001 From: "Chakhsu.Lau" Date: Sun, 18 Feb 2024 22:41:46 +0800 Subject: [PATCH] chore: remove server.start --- package.json | 2 +- src/server/index.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index f5198a7..36b5fb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grpcity", - "version": "2.1.3", + "version": "2.1.4", "description": "A powerful and complete gRPC framework for Node.js", "author": "Chakhsu.Lau", "license": "MIT", diff --git a/src/server/index.ts b/src/server/index.ts index 41e7963..5215478 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -54,7 +54,6 @@ export default class Server { const port = (addr as any).port ? (addr as any).port : Number((addr as string).match(/:(\d+)/)![1]) assert(bindPort === port, 'server bind port not to be right') - this._server!.start() this._started = true }