浏览代码

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