"live-server --open=wap/index.html --port=8080 --cors --proxy=/proxy:https://test.xxx.com/mobile" 这样写报错了 GET /proxy/index/index 500 104.113 ms - 514 Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: IP: 127.0.0.1 is not in the cert's list: at Object.checkServerIdentity (tls.js:228:17) at TLSSocket.onConnectSecure (_tls_wrap.js:1059:27) at TLSSocket.emit (events.js:182:13) at TLSSocket._finishInit (_tls_wrap.js:631:8)
1
Q1ng 2019-07-26 14:51:55 +08:00
这个是你用了 https 使用 http 就可以了。为啥不能用 s 我也不知道
|