Maybe fix the no bare clients issue??
This commit is contained in:
parent
9934d87ffb
commit
2391cf2cfe
1 changed files with 79 additions and 77 deletions
|
|
@ -63,9 +63,8 @@ export function getStaticPaths() {
|
|||
</div>
|
||||
</div>
|
||||
<ProxyRegistrar />
|
||||
</Layout>
|
||||
<script>
|
||||
import { TransportMgr } from "@components/ts/TransportManager";
|
||||
<script>
|
||||
import { TransportMgr, initTransport } from "@components/ts/TransportManager";
|
||||
document.addEventListener("astro:after-swap", () => {
|
||||
console.log("Updating transport...");
|
||||
TransportMgr.updateTransport();
|
||||
|
|
@ -143,8 +142,11 @@ export function getStaticPaths() {
|
|||
});
|
||||
}
|
||||
document.addEventListener("astro:after-swap", addEventListeners);
|
||||
document.addEventListener("DOMContentLoaded", initTransport);
|
||||
addEventListeners();
|
||||
</script>
|
||||
</script>
|
||||
</Layout>
|
||||
|
||||
|
||||
<style is:global>
|
||||
.main-content {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue