Merge app and frontend #3

Merged
IgorVolochay merged 32 commits from app into frontend 2026-09-01 09:00:36 +00:00
Showing only changes of commit 05f9371aa8 - Show all commits
+1 -1
View File
@@ -12,7 +12,7 @@ def _clear_middleware_suspicious_counts():
"""Search for SecurityMiddleware in middleware stack and clear suspicious_request_counts."""
from guard.middleware import SecurityMiddleware
from main import app
current = app
current = getattr(app, 'middleware_stack', None) or app
visited = set()
while current is not None and id(current) not in visited:
visited.add(id(current))