fix: resolve server inbound DNS & routing, strategy fuzzer UI sync, and sing-box-extended latency

This commit is contained in:
Dushnilin
2026-09-13 16:43:51 +03:00
parent 4b7faf18a8
commit 4cbf32ee3f
8 changed files with 252 additions and 37 deletions
@@ -1965,10 +1965,29 @@ export function renderStrategyFuzzerModal(ruleNames: string[] = []) {
selectedRuleSection,
);
if (res.success) {
showToast(
`${_('Applied')} "${item.name}" -> ${selectedRuleSection || _('Global Default')}`,
'success',
);
if (typeof ui?.addNotification === 'function') {
ui.addNotification(
_('Tachyon'),
E(
'p',
{},
`${_('Strategy applied successfully and service reloaded!')} (${item.name} -> ${selectedRuleSection || _('Global Default')})`,
),
'info',
);
} else {
showToast(
`${_('Applied')} "${item.name}" -> ${selectedRuleSection || _('Global Default')}`,
'success',
);
}
if (typeof ui?.hideModal === 'function') ui.hideModal();
if (
typeof window !== 'undefined' &&
typeof window.location?.reload === 'function'
) {
window.location.reload();
}
} else {
showToast(_('Failed to apply strategy'), 'error');
}