feat(ServerManagement): add 'home' server type to server configurations and update related components to handle billing and filtering exclusions for home routers

This commit is contained in:
2026-01-22 23:30:04 +07:00
parent 5114e9dd81
commit 3ab4c4095a
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ app.post('/api/ip-ranges', writeLimiter, ipRangesRoutes.post);
// === JSON DATA ROUTES (используют фабрики) ===
// Servers
const SERVER_TYPES = ['jumphost', 'exit', 'bgp', 'dns'];
const SERVER_TYPES = ['jumphost', 'exit', 'bgp', 'dns', 'home'];
const TYPES_NEED_TUNNEL = ['jumphost', 'exit']; // Типы, которым нужен туннель
const TYPES_NEED_GATEWAYS = ['jumphost', 'exit']; // Типы, которым нужны gateways