Fix missing define
This commit is contained in:
@@ -105,6 +105,7 @@ app.all('/locations_full.geojson', (req, res) => {
|
||||
// Setup standard authentication variables
|
||||
let hazePwHash = null;
|
||||
let hazeUser = null;
|
||||
let hazeSocketCounter = 0;
|
||||
let authHeader = req.headers['authorization'];
|
||||
let paramAuth = Buffer.from(authHeader.replace('Basic ', ''), 'base64').toString('utf-8');
|
||||
hazeUser = paramAuth.split(":")[0];
|
||||
|
||||
Reference in New Issue
Block a user