try to block render until message handler is installed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details

This commit is contained in:
Ladd Hoffman 2024-04-25 14:45:43 -05:00
parent c6d8af4f4c
commit f202e5e4f2
1 changed files with 4 additions and 4 deletions

View File

@ -5,10 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/dgf.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DGF Prototype</title>
</head>
<body>
<div id="root"></div>
<script>
<script blocking="render">
console.log('adding window message event listener');
window.addEventListener(
'message',
@ -18,6 +15,9 @@ window.addEventListener(
},
);
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>