Skip to content

Commit a57e40b

Browse files
committed
chore: initial snapshot
1 parent fd5385e commit a57e40b

4 files changed

Lines changed: 242 additions & 4 deletions

File tree

api/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { setupSwagger } from '../src/configs/swagger.config';
88
import { HttpExceptionFilter } from '../src/common/filters/http-exception.filter';
99

1010
const expressApp = express();
11+
// Patch ExpressAdapter to skip router inspection that relies on deprecated app.router getter
12+
(ExpressAdapter as any).prototype.isMiddlewareApplied = () => false;
1113
let app: INestApplication | null = null;
1214

1315
async function bootstrap(): Promise<INestApplication> {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"cache-manager": "^7.2.5",
6767
"class-transformer": "^0.5.1",
6868
"class-validator": "^0.14.3",
69+
"express": "4.18.2",
6970
"nest-winston": "^1.10.2",
7071
"passport": "^0.7.0",
7172
"passport-jwt": "^4.0.1",

0 commit comments

Comments
 (0)