Merge branch 'dev'
This commit is contained in:
commit
29df97ccc8
|
|
@ -446,6 +446,15 @@ export function renderModuleLanding(opts: ModuleLandingOptions): string {
|
||||||
width: 100%; height: 100%; border: none;
|
width: 100%; height: 100%; border: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
/* Unregister any stale service workers on rspace.online to prevent
|
||||||
|
them from intercepting cross-origin iframe requests */
|
||||||
|
if ('serviceWorker' in navigator) {
|
||||||
|
navigator.serviceWorker.getRegistrations().then(function(regs) {
|
||||||
|
regs.forEach(function(r) { r.unregister(); });
|
||||||
|
});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script defer src="https://rdata.online/collect.js" data-website-id="6ee7917b-0ed7-44cb-a4c8-91037638526b"></script>
|
<script defer src="https://rdata.online/collect.js" data-website-id="6ee7917b-0ed7-44cb-a4c8-91037638526b"></script>
|
||||||
</head>
|
</head>
|
||||||
<body data-theme="${theme}">
|
<body data-theme="${theme}">
|
||||||
|
|
@ -460,7 +469,7 @@ export function renderModuleLanding(opts: ModuleLandingOptions): string {
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="ml-frame-wrap">
|
<div class="ml-frame-wrap">
|
||||||
<iframe src="${embedUrl}" allow="clipboard-write; fullscreen"></iframe>
|
<iframe src="${embedUrl}" allow="clipboard-write; fullscreen" sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-modals"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import '/shell.js';
|
import '/shell.js';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue