node http-proxy-middleware代理 提示Error occured while trying to proxyError occured while trying to

报错

[HPM] Error occurred while trying to proxy request /admin/api/v1/upload from 
localhost:5101 to https://map.bjsubway.com (UNABLE_TO_VERIFY_LEAF_SIGNATURE) 
(https://nodejs.org/api/errors.html#errors_common_system_errors)

解决办法

设置证书免校验 secure

node http-proxy-middleware代理 提示Error occured while trying to proxyError occured while trying to_第1张图片

你可能感兴趣的:(node)