fix(buddyhbook): routing

This commit is contained in:
Danish Arora 2024-11-05 17:31:46 +05:30
parent 9239b80487
commit 86f538e93e
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
1 changed files with 8 additions and 0 deletions

View File

@ -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>