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

// Find lines containing app.get, app.post, router.get, router.post
const lines = content.split('\n');
lines.forEach((line, i) => {
  if (line.includes('app.') || line.includes('router.') || line.includes('/api/')) {
    console.log(`Line ${i + 1}: ${line.trim()}`);
  }
});
