удалить и другая красота

This commit is contained in:
2026-03-11 16:38:44 +05:00
parent ec5a1a898b
commit 76075da0ad
4 changed files with 298 additions and 169 deletions

View File

@@ -27,6 +27,7 @@ const chatAPI = require('./api-chat');
// Подключаем API для управления межсервисным взаимодействием
//const { setupUpravlenieEndpoints } = require('./upravlenie-service');
const apiKeysModule = require('./api-keys');
const taskTimeout = require('./task-timeout');
//
const app = express();
const PORT = process.env.PORT || 3000;
@@ -1615,5 +1616,8 @@ initializeServer().then(() => {
process.exit(1);
});
// Экспортируем приложение для тестирования
module.exports = app;
// Экспортируем приложение
module.exports = {
app,
taskTimeout
};