Explorar el Código

feat: 回复端口

huangzhichao hace 4 semanas
padre
commit
3875a38be2
Se han modificado 1 ficheros con 1 adiciones y 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()