From d1210851aa23967255c6d626da4644451feeb3e1 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 31 Jan 2025 16:07:27 +0100 Subject: [PATCH] Update api.js --- lightrag/api/static/js/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lightrag/api/static/js/api.js b/lightrag/api/static/js/api.js index 86d8785d..551d29ac 100644 --- a/lightrag/api/static/js/api.js +++ b/lightrag/api/static/js/api.js @@ -15,6 +15,7 @@ const showToast = (message, duration = 3000) => { }; const fetchWithAuth = async (url, options = {}) => { + console.log(`Calling server with api key : ${}`) const headers = { ...(options.headers || {}), ...(state.apiKey ? { 'X-API-Key': state.apiKey } : {}) // Use X-API-Key instead of Bearer