/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
sample/24-serve-static/src/main.ts
11 строк
306 B
Kamil Myśliwiec
style(sample): add missing spaces to samples
02 мар 2020, 19:25
Не верифицирован
02 мар 2020, 19:25
f2ace2f
Код
Авторство
О чём код?
import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.setGlobalPrefix('api'); await app.listen(3000); console.log(`Application is running on: ${await app.getUrl()}`); } bootstrap();