From 16a16d643f92ccd34e1a0dea0e27ca742bdc1994 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 25 Jan 2026 15:01:51 -0700 Subject: [PATCH] Add bypass --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 17722be..bfc4798 100644 --- a/index.js +++ b/index.js @@ -38,6 +38,9 @@ app.use((req, res, next) => { }) 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) { return next(); }