Node.js - listener must be a function error

后端 未结 2 1903
既然无缘
既然无缘 2021-01-13 13:14

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

2条回答
  •  清酒与你
    2021-01-13 13:30

    I solved this error by passing the function name as the param rather than the variable that holds the function

提交回复
热议问题