Skip to content

Commit

Permalink
fix(platform-express): replace net.server with http.server
Browse files Browse the repository at this point in the history
  • Loading branch information
micalevisk committed Mar 14, 2023
1 parent a61bcd3 commit 545d69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/platform-express/adapters/express-adapter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Server } from 'net';
import type { Server } from 'http';
import {
HttpStatus,
InternalServerErrorException,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Server } from 'net';
import { Server } from 'http';
import { INestApplication } from '@nestjs/common';
import * as bodyparser from 'body-parser';
import { NestExpressBodyParserOptions } from './nest-express-body-parser-options.interface';
Expand Down

0 comments on commit 545d69c

Please sign in to comment.