Update webui assets

This commit is contained in:
yangdx
2025-03-24 17:05:56 +08:00
parent a0845b37c9
commit f0054545c0
5 changed files with 275 additions and 280 deletions

View File

@@ -114,7 +114,7 @@ def get_combined_auth_dependency(api_key: Optional[str] = None):
return # API key validation successful
# Specail endpoint not accept token
if ( api_key_configured and is_special_endpoint ):
if api_key_configured and is_special_endpoint:
# Special endpoint but API key validation failed, return 403 error
if api_key_header_value:
raise HTTPException(
@@ -157,7 +157,7 @@ def get_combined_auth_dependency(api_key: Optional[str] = None):
# 5. No token and API key validation failed, return 403 error
if api_key_configured:
if (api_key_header_value is None):
if api_key_header_value is None:
raise HTTPException(
status_code=HTTP_403_FORBIDDEN,
detail="API Key required or login authentication required.",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -8,8 +8,8 @@
<link rel="icon" type="image/svg+xml" href="logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lightrag</title>
<script type="module" crossorigin src="/webui/assets/index-DlScqWrq.js"></script>
<link rel="stylesheet" crossorigin href="/webui/assets/index-Cq65VeVX.css">
<script type="module" crossorigin src="/webui/assets/index-D7OlfVcO.js"></script>
<link rel="stylesheet" crossorigin href="/webui/assets/index-DeeaVqHZ.css">
</head>
<body>
<div id="root"></div>