提交 21ee5855 authored 作者: Jaon EarlWolf's avatar Jaon EarlWolf

FS-8636 [verto_communicator] - Fix URI mismatch before angular bootstraps

上级 010db753
......@@ -33,6 +33,18 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
if (location.search) {
var tmp = location.search;
location.search = '';
location.href = getPathFromUrl(location.href) + (location.hash ? location.hash : '#/') + tmp;
}
function getPathFromUrl(url) {
return url.split(/[?#]/)[0];
}
</script>
</head>
<body>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论