I\'m trying to convert the accepted answer on (How to create a simple http proxy in node.js?) from http to https.
When I try to access the proxy from my browser, the
I solved this error by passing the function name as the param rather than the variable that holds the function