mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 09:47:46 +03:00
1.3.1
Уведомления об обновлении приложения.
This commit is contained in:
@@ -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: "Локальный сервер для разработки",
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user