Bump Harbor versions and add direct .ru routing
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 15s
Build and Deploy Gateway / deploy (push) Successful in 12s

This commit is contained in:
2026-07-11 21:36:04 +03:00
parent 7a6f9a26ac
commit 306a9b8ced
14 changed files with 279 additions and 25 deletions

View File

@@ -48,9 +48,11 @@ export function buildGatewayConfig(subscriptionConfig, selectedTag, { clientDire
set_system_proxy: false,
},
];
const directRules = [{ domain_suffix: ['ru'], outbound: 'direct' }];
const rules = clientMode
? [{ inbound: [MIXED_INBOUND], outbound: outboundTag }]
? [...directRules, { inbound: [MIXED_INBOUND], outbound: outboundTag }]
: [
...directRules,
{ inbound: [TPROXY_INBOUND], outbound: outboundTag },
{ inbound: [MIXED_INBOUND], outbound: outboundTag },
];