Files
wehub-resource-sync b7f52be4c9
CI / Run CI (push) Has been cancelled
CI / check-backend (push) Has been cancelled
CI / check-frontend (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / e2e-tests (push) Has been cancelled
Copilot Setup Steps / copilot-setup-steps (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:48:47 +08:00

25 lines
555 B
HTML

<!doctype html>
<html>
<head>
<title>Chainlit iframe</title>
</head>
<body>
<h1>Chainlit iframe</h1>
<iframe
src="http://127.0.0.1:8000/"
id="the-frame"
data-cy="the-frame"
width="100%"
height="500px"
></iframe>
<div id="message">No message received</div>
<script>
window.addEventListener('message', function (event) {
if (event.data.startsWith('Server: ')) {
document.getElementById('message').innerText = event.data;
}
});
</script>
</body>
</html>