diff --git a/archivebox/core/middleware.py b/archivebox/core/middleware.py index b7d26aec..d5df2a36 100644 --- a/archivebox/core/middleware.py +++ b/archivebox/core/middleware.py @@ -146,6 +146,9 @@ def HostRoutingMiddleware(get_response): ) def middleware(request): + if request.path in {"/health", "/health/"}: + return get_response(request) + request_host = (request.get_host() or "").lower() config = getattr(request, "archivebox_config", None) if config is None: