const fs = require('fs');
const content = fs.readFileSync('dist/server.cjs', 'utf8');

let idx = 0;
while ((idx = content.indexOf('active_hotspot_sessions', idx)) !== -1) {
  console.log(`Found 'active_hotspot_sessions' at index ${idx}:`);
  console.log(content.substring(idx - 150, idx + 250));
  console.log('-------------------------------------------');
  idx += 'active_hotspot_sessions'.length;
}
