Added /login to VITE_API_ENDPOINTS

This commit is contained in:
yangdx
2025-03-18 01:16:40 +08:00
parent 2856107f46
commit 1727130c47
3 changed files with 2 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
VITE_BACKEND_URL=http://localhost:9621 VITE_BACKEND_URL=http://localhost:9621
VITE_API_PROXY=true VITE_API_PROXY=true
VITE_API_ENDPOINTS=/api,/documents,/graphs,/graph,/health,/query,/docs,/openapi.json VITE_API_ENDPOINTS=/api,/documents,/graphs,/graph,/health,/query,/docs,/openapi.json,/login

View File

@@ -2,7 +2,7 @@ import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client' import { createRoot } from 'react-dom/client'
import './index.css' import './index.css'
import AppRouter from './AppRouter' import AppRouter from './AppRouter'
import "./i18n"; import './i18n';

View File

@@ -7,7 +7,6 @@ import { Message, QueryRequest } from '@/api/lightrag'
type Theme = 'dark' | 'light' | 'system' type Theme = 'dark' | 'light' | 'system'
type Language = 'en' | 'zh' type Language = 'en' | 'zh'
type Tab = 'documents' | 'knowledge-graph' | 'retrieval' | 'api' type Tab = 'documents' | 'knowledge-graph' | 'retrieval' | 'api'
type Language = 'en' | 'zh'
interface SettingsState { interface SettingsState {
// Graph viewer settings // Graph viewer settings