import http from 'node:http'; const originalEnd = http.ServerResponse.prototype.end; const layoutPatch = ``; http.ServerResponse.prototype.end = function (chunk, encoding, callback) { if (typeof chunk === 'string' && chunk.includes('')) { chunk = chunk.replace('', `${layoutPatch}`); } return originalEnd.call(this, chunk, encoding, callback); }; await import('./server.js');