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

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