vite数据请求报错 Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate‘s altnames
新搭建的vite项目,配置的代理如下问题所在:vite对于proxy的封装和vuecli不一样,需要额外增加secure: false绕过https的安全验证才能请求到https的地址解决方案:参考:添http-proxy