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

const targetIdx = content.indexOf('/api/mikrotik/hotspot-logs');
console.log(content.substring(targetIdx - 500, targetIdx + 1500));
