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 })
});