/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
sample/29-file-upload/src/main.ts
12 строк
369 B
Kamil Myśliwiec
sample(): rename 28-file-upload to 29-file-upload
13 ноя 2020, 14:14
Не верифицирован
13 ноя 2020, 14:14
78cda5f
Код
Авторство
О чём код?
import { ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.useGlobalPipes(new ValidationPipe()); await app.listen(3000); console.log(`Application is running on: ${await app.getUrl()}`); } bootstrap();