diff --git a/core/scripts/webpanel/middleware/auth.py b/core/scripts/webpanel/middleware/auth.py index 9294875..18ea388 100644 --- a/core/scripts/webpanel/middleware/auth.py +++ b/core/scripts/webpanel/middleware/auth.py @@ -20,6 +20,7 @@ class AuthMiddleware(BaseHTTPMiddleware): '''Handles session authentication.''' public_routes = [ '/login', + '/robots.txt' ] if request.url.path in public_routes: return await call_next(request)