yangdx commited on
Commit
a796e61
·
1 Parent(s): 79819d7

Added /login to VITE_API_ENDPOINTS

Browse files
lightrag_webui/env.local.sample CHANGED
@@ -1,3 +1,3 @@
1
  VITE_BACKEND_URL=http://localhost:9621
2
  VITE_API_PROXY=true
3
- VITE_API_ENDPOINTS=/api,/documents,/graphs,/graph,/health,/query,/docs,/openapi.json
 
1
  VITE_BACKEND_URL=http://localhost:9621
2
  VITE_API_PROXY=true
3
+ VITE_API_ENDPOINTS=/api,/documents,/graphs,/graph,/health,/query,/docs,/openapi.json,/login
lightrag_webui/src/main.tsx CHANGED
@@ -2,7 +2,7 @@ import { StrictMode } from 'react'
2
  import { createRoot } from 'react-dom/client'
3
  import './index.css'
4
  import AppRouter from './AppRouter'
5
- import "./i18n";
6
 
7
 
8
 
 
2
  import { createRoot } from 'react-dom/client'
3
  import './index.css'
4
  import AppRouter from './AppRouter'
5
+ import './i18n';
6
 
7
 
8
 
lightrag_webui/src/stores/settings.ts CHANGED
@@ -7,7 +7,6 @@ import { Message, QueryRequest } from '@/api/lightrag'
7
  type Theme = 'dark' | 'light' | 'system'
8
  type Language = 'en' | 'zh'
9
  type Tab = 'documents' | 'knowledge-graph' | 'retrieval' | 'api'
10
- type Language = 'en' | 'zh'
11
 
12
  interface SettingsState {
13
  // Graph viewer settings
 
7
  type Theme = 'dark' | 'light' | 'system'
8
  type Language = 'en' | 'zh'
9
  type Tab = 'documents' | 'knowledge-graph' | 'retrieval' | 'api'
 
10
 
11
  interface SettingsState {
12
  // Graph viewer settings