diff --git a/basicauth_serve.js b/basicauth_serve.js index b1e8548..a7a179f 100644 --- a/basicauth_serve.js +++ b/basicauth_serve.js @@ -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];