Files
2024-12-18 21:16:43 +08:00

1 line
1.2 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{386:function(t,e,a){"use strict";a.r(e);var s=a(14),r=Object(s.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h2",{attrs:{id:"问题描述"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#问题描述"}},[t._v("#")]),t._v(" 问题描述")]),t._v(" "),e("p",[t._v("内网穿透 Vue项目出现Invalid Host header 的解决方案")]),t._v(" "),e("h2",{attrs:{id:"解决方案"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#解决方案"}},[t._v("#")]),t._v(" 解决方案")]),t._v(" "),e("p",[t._v("manifest.json中配置")]),t._v(" "),e("div",{staticClass:"language- extra-class"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[t._v('"h5":{\n\t\t"devServer":{\n\t\t\t"disableHostCheck":true\n\t\t}\n},\n')])])]),e("ul",[e("li",[t._v("相关链接:"),e("a",{attrs:{href:"https://blog.csdn.net/weixin_41549915/article/details/96132925",target:"_blank",rel:"noopener noreferrer"}},[t._v("内网穿透 Vue项目出现Invalid Host header 的解决方案"),e("OutboundLink")],1)]),t._v(" "),e("li",[t._v("贡献者:wx:明天会更好")])])])}),[],!1,null,null,null);e.default=r.exports}}]);