mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 13:08:34 +03:00
adds /metrics
This commit is contained in:
@@ -66,6 +66,6 @@ async def get_basic_auth(credentials: HTTPBasicCredentials = Depends(basic_secur
|
||||
if is_correct_password: return True
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_401_UNAUTHORIZED,
|
||||
detail="Wrong static file access credentials",
|
||||
detail="Wrong auth credentials",
|
||||
headers={"WWW-Authenticate": "Basic"}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user