소스 검색

feat: 回复端口

huangzhichao 4 주 전
부모
커밋
3875a38be2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main.ts

+ 1 - 1
src/main.ts

@@ -5,6 +5,6 @@ import { AppModule } from './app.module'
 async function bootstrap() {
   const app = await NestFactory.create(AppModule)
   app.enableCors()
-  await app.listen(80, '0.0.0.0')
+  await app.listen(3000, '0.0.0.0')
 }
 bootstrap()