mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 13:33:30 +01:00
MAESTRO: add captcha verification flow
This commit is contained in:
@@ -3,6 +3,7 @@ from fastapi import FastAPI
|
||||
from app.core.config import get_settings
|
||||
from app.middleware.rate_limiter import RateLimiterMiddleware, SlidingWindowRateLimiter
|
||||
from app.routers.analysis import router as analysis_router
|
||||
from app.routers.captcha import router as captcha_router
|
||||
from app.routers.tests import router as tests_router
|
||||
|
||||
app = FastAPI(title="Web Header Analyzer API")
|
||||
@@ -14,6 +15,7 @@ app.add_middleware(
|
||||
RateLimiterMiddleware, limiter=rate_limiter, protected_paths={"/api/analyse"}
|
||||
)
|
||||
app.include_router(analysis_router)
|
||||
app.include_router(captcha_router)
|
||||
app.include_router(tests_router)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user