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

const targetStr = '/api/mikrotik/delete-hotspot-user';
const idx = content.indexOf(targetStr);
if (idx !== -1) {
  console.log("Found delete-hotspot-user endpoint at:", idx);
  console.log(content.substring(idx - 100, idx + 1800));
}
