From fbc6b79830d067b69db0df307d6ee1a5c661e3e0 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 25 Jan 2026 15:12:30 -0700 Subject: [PATCH] UUUU --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c95d8c2..2c39133 100644 --- a/index.js +++ b/index.js @@ -41,7 +41,7 @@ global.auth = (req, res, next) => { if(!process.env.API_KEY) { return next(); // No API key set, allow all requests } - if (process.env.API_KEY && req.headers['Authorization'] === process.env.API_KEY) { + if (process.env.API_KEY && req.headers['authorization'] === process.env.API_KEY) { return next(); } return res.status(401).json({ error: 'Unauthorized' });