Update index.js

This commit is contained in:
2025-06-07 21:05:53 +05:00
committed by GitHub
parent 4f146bacad
commit 3ff628c52b

View File

@@ -78,8 +78,8 @@ router.get('/config/toggles', async (req, res) => {
});
// Подключение роутера к двум путям
app.use('/api', router);
app.use('/api/v2', router);
// app.use('/api', router);
// app.use('/api/v2', router);
// Обработчик для неизвестных маршрутов
app.use((req, res) => {