From 3e44df923fa3e7233323982b3faccd616399ee4a Mon Sep 17 00:00:00 2001 From: soichisumi Date: Sat, 25 Jan 2025 22:50:05 +0900 Subject: [PATCH] fix auth header --- lightrag/api/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/api/static/index.html b/lightrag/api/static/index.html index 36690ec9..0400aa5f 100644 --- a/lightrag/api/static/index.html +++ b/lightrag/api/static/index.html @@ -614,7 +614,7 @@ try { const response = await fetch('/health', { headers: { - 'Authorization': `Bearer ${localStorage.getItem('apiKey')}` + 'X-API-Key': `${localStorage.getItem('apiKey')}` } });