- Add LIGHTRAG_MULTI_TENANT env var to control multi-tenant mode - Add multi_tenant_enabled flag to /auth-status and /health endpoints - Update LoginPage to auto-redirect in single-tenant mode - Update App.tsx to set default tenant/KB in single-tenant mode - Update TenantSelector to skip API calls in single-tenant mode - Update SiteHeader to hide tenant selector in single-tenant mode - Update useTenantInitialization hook to skip in single-tenant mode - Update AuthStore with multiTenantEnabled state In single-tenant mode (default): - No tenant selection UI shown - Auto-creates default tenant and KB context - Direct access to all WebUI features In multi-tenant mode (LIGHTRAG_MULTI_TENANT=true): - Shows tenant/KB selection UI - Requires tenant API routes to be configured
17 lines
649 B
HTML
Generated
17 lines
649 B
HTML
Generated
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<link rel="icon" type="image/png" href="favicon.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Lightrag</title>
|
|
<script type="module" crossorigin src="/webui/assets/index-BiO5uODf.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/webui/assets/index-C3Wbtx9N.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|