fix(buddyhbook): routing
This commit is contained in:
parent
9239b80487
commit
86f538e93e
|
@ -32,6 +32,14 @@
|
|||
}
|
||||
}(window.location))
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
const path = window.location.pathname.substring('/buddybook/'.length);
|
||||
if (path && !window.location.search.includes('?/')) {
|
||||
window.location.replace('/buddybook/?/' + path + window.location.search + window.location.hash);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
Loading…
Reference in New Issue