Update webui assets
This commit is contained in:
@@ -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.",
|
||||
|
1
lightrag/api/webui/assets/index-Cq65VeVX.css
generated
1
lightrag/api/webui/assets/index-Cq65VeVX.css
generated
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
lightrag/api/webui/assets/index-DeeaVqHZ.css
generated
Normal file
1
lightrag/api/webui/assets/index-DeeaVqHZ.css
generated
Normal file
File diff suppressed because one or more lines are too long
4
lightrag/api/webui/index.html
generated
4
lightrag/api/webui/index.html
generated
@@ -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>
|
||||
|
Reference in New Issue
Block a user