static-browser-server
Version:
A simple service worker used for the static template in sandpack, allowing users to develop websites like they would locally in the browser.
29 lines (26 loc) • 667 B
HTML
<html lang="en">
<head>
<style>
body,
body * {
font-family: "Fira Mono", "DejaVu Sans Mono", Menlo, Consolas,
"Liberation Mono", Monaco, "Lucida Console", monospace;
font-size: 10px;
text-decoration: none;
color: #808080;
display: flex;
flex-direction: column;
gap: 1em;
margin: 0;
}
iframe {
border: 0;
}
</style>
</head>
<body>
<div>Relay frame to communicate between preview and main frame</div>
<script type="module" src="/__csb_relay/__csb_relay.k6zqcaldwongir8b9mnqriffbwpbwcr.js"></script>
</body>
</html>