node-XMLHttpRequest
node-XMLHttpRequest copied to clipboard
Use with AWS Lambda
if you want to use this package with aws lambda, you need to modify the two lines:
var contentFile = ".node-xmlhttprequest-content-" + process.pid;
var syncFile = ".node-xmlhttprequest-sync-" + process.pid;
with
var contentFile = "/tmp/node-xmlhttprequest-content-" + process.pid;
var syncFile = "/tmp/node-xmlhttprequest-sync-" + process.pid;
because you can write only in the /tmp/ directory
Thanks @lucabarze for reporting this, I'm sending a pull request for this.
hey @barodeur any updates on that issue?
@demsey2 here it is ;)