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