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

const target = "app.post(\"/api/mikrotik/sync-hotspot-users\"";
const idx = content.indexOf(target);
if (idx !== -1) {
  console.log(content.substring(idx + 1000, idx + 2500));
} else {
  console.log("Not found.");
}
