feat: добавлена поддержка кэша прямого обхода с использованием ipset
All checks were successful
Build and Deploy Gateway / build-and-deploy (push) Successful in 19s

Refs: None
This commit is contained in:
2026-05-08 22:27:58 +03:00
parent 781cbbb026
commit 5c9a291920
6 changed files with 130 additions and 4 deletions

View File

@@ -186,6 +186,13 @@ function App() {
);
}
async function flushDirectCache() {
return withBusy('Bypass-кэш сброшен', async () => {
await api.directCache.flush();
await loadState();
});
}
// === Rules CRUD ===
function emptyRule() {
return {
@@ -321,6 +328,7 @@ function App() {
onShowConfig={() => setConfigOpen(true)}
onNav={navigate}
onBypassToggle={toggleBypass}
onFlushDirectCache={flushDirectCache}
/>
)}
{page === 'servers' && (