From 763b32177df6a8e134c33f61b5299ef8d6241593 Mon Sep 17 00:00:00 2001 From: soichisumi Date: Sat, 25 Jan 2025 22:51:35 +0900 Subject: [PATCH] last one request with auth --- 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 3a69f8c5..33a618a1 100644 --- a/lightrag/api/static/index.html +++ b/lightrag/api/static/index.html @@ -486,7 +486,7 @@ method: 'POST', headers: { 'Content-Type': 'application/json', - 'Authorization': `Bearer ${localStorage.getItem('apiKey') || ''}` + 'X-API-Key': `${localStorage.getItem('apiKey') || ''}` }, body: JSON.stringify({ query }) });