const fs = require('fs');
let code = fs.readFileSync('src/server.ts', 'utf8');

code = code.replace(
`        by_status,
        uptime_seconds,
        agents,
    });`,
`        by_status,
        uptime_seconds,
        agents,
    });
});`
);
fs.writeFileSync('src/server.ts', code);
