fix:
Local Docker Build (Dev) / build-dev (push) Successful in 4s

removed auth on database endpoints
This commit is contained in:
2025-10-20 16:48:47 -04:00
parent 8b683a9fad
commit a55da8d189
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
2.6.10 2.6.11
+8 -4
View File
@@ -85,17 +85,21 @@ class SimpleAuthMiddleware(BaseHTTPMiddleware):
"/api/movies", # Web API endpoints "/api/movies", # Web API endpoints
"/api/series", "/api/series",
"/api/episodes", "/api/episodes",
"/api/dashboard", "/api/dashboard"
"/database/" # Database management endpoints
] ]
# Routes that are always public (webhooks, health checks) # Routes that are always public (webhooks, health checks, API endpoints)
self.public_routes = [ self.public_routes = [
"/webhook/", "/webhook/",
"/health", "/health",
"/ping", "/ping",
"/api/v1/health", "/api/v1/health",
"/api/v1/metrics" "/api/v1/metrics",
"/database/", # Database management endpoints (API access)
"/manual/", # Manual scan endpoints (API access)
"/debug/", # Debug endpoints (API access)
"/test/", # Test endpoints (API access)
"/bulk/" # Bulk operation endpoints (API access)
] ]
async def dispatch(self, request: Request, call_next): async def dispatch(self, request: Request, call_next):