Explorar o código

feat: 回复端口

huangzhichao hai 4 semanas
pai
achega
3875a38be2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()