Fix missing define

This commit is contained in:
2026-07-27 07:34:55 -04:00
parent 07b66a7323
commit 3988db9bde
+1
View File
@@ -105,6 +105,7 @@ app.all('/locations_full.geojson', (req, res) => {
// Setup standard authentication variables // Setup standard authentication variables
let hazePwHash = null; let hazePwHash = null;
let hazeUser = null; let hazeUser = null;
let hazeSocketCounter = 0;
let authHeader = req.headers['authorization']; let authHeader = req.headers['authorization'];
let paramAuth = Buffer.from(authHeader.replace('Basic ', ''), 'base64').toString('utf-8'); let paramAuth = Buffer.from(authHeader.replace('Basic ', ''), 'base64').toString('utf-8');
hazeUser = paramAuth.split(":")[0]; hazeUser = paramAuth.split(":")[0];