how to convert puppeteer.HTTPResponse to cloudflare Response
I am trying to convert a puppeteer.HTTPResponse into a cloudflare response. Before I moved to cloudflare workers, I was able to do this with the following code. However, currently with cloudflare I get the following error:
Code that previously worked:
ReferenceError: Buffer is not definedCode that previously worked: