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

const targetStr = '/api/store/load';
const idx = content.indexOf(targetStr);
if (idx !== -1) {
  console.log("Found store/load endpoint at:", idx);
  console.log(content.substring(idx - 100, idx + 1500));
} else {
  console.log("store/load endpoint not found");
}
