ソースを参照

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()