refactor(mikrotikInterfaceGenerator, NetworkConfigManager): improve comments for route removal and enhance request logging format in API responses
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 2m0s

This commit is contained in:
2026-02-03 21:35:04 +07:00
parent 1dfdfcfeec
commit 6e4a0aae27
2 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -281,14 +281,14 @@ async function buildMikrotikRecursiveRoutes(config, servers, options = {}) {
if (server?.provider) code += `# Провайдер: ${server.provider}\n`;
if (server?.country) code += `# Страна: ${server.country}\n`;
code += '\n';
code += '# Удаление существующих рекурсивных маршрутов (опционально)\n';
code += '/ip route remove [find comment~"Recursive"]\n\n';
code += '# Удаление старых рекурсивных маршрутов (comment начинается с "Recursive: ")\n';
code += '/ip route remove [find comment~"^Recursive: "] \n\n';
} else {
operations.push({
path: '/ip/route',
action: 'remove',
params: {},
meta: { findComment: 'Recursive' },
meta: { findComment: '^Recursive: ' },
});
}