mirror of
https://github.com/waku-org/js-waku-lab.git
synced 2025-01-13 02:24:21 +00:00
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…
x
Reference in New Issue
Block a user