From 49a632a7394600a329ff5a069213d7e9588f058c Mon Sep 17 00:00:00 2001 From: soichisumi Date: Sat, 25 Jan 2025 22:51:06 +0900 Subject: [PATCH] add fix --- 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 74d5c59f..3a69f8c5 100644 --- a/lightrag/api/static/index.html +++ b/lightrag/api/static/index.html @@ -342,7 +342,7 @@ const response = await fetch('/documents/upload', { method: 'POST', headers: { - 'Authorization': `Bearer ${localStorage.getItem('apiKey') || ''}` + 'X-API-Key': `${localStorage.getItem('apiKey') || ''}` }, body: formData });