Уведомления об обновлении приложения.
This commit is contained in:
2024-10-06 02:43:13 +04:00
parent 6ffe39a4a9
commit 2efceeaec4
13 changed files with 106 additions and 15 deletions

View File

@@ -26,12 +26,12 @@ async function bootstrap() {
const swaggerConfig = new DocumentBuilder()
.setTitle("Schedule Parser")
.setDescription("Парсер расписания")
.setVersion("1.0")
.setVersion(apiConstants.version)
.build();
const swaggerDocument = SwaggerModule.createDocument(app, swaggerConfig);
swaggerDocument.servers = [
{
url: "http://localhost:3000",
url: `https://localhost:${apiConstants.port}`,
description: "Локальный сервер для разработки",
},
];