fix: load docs demo runtime index directly
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import { emailPreviews } from '../lib/emailPreviews.mjs';
|
||||
|
||||
const defaultDemoSrc = '/demo/runtime/app/?path=/home&mock=tariffs';
|
||||
const defaultDemoSrc = '/demo/runtime/app/index.html?path=/home&mock=tariffs';
|
||||
const docsHref = '/getting-started/demo/';
|
||||
---
|
||||
|
||||
@@ -529,7 +529,7 @@ const docsHref = '/getting-started/demo/';
|
||||
title={`Email preview: ${preview.title}`}
|
||||
srcdoc={preview.html}
|
||||
loading="lazy"
|
||||
sandbox=""
|
||||
sandbox="allow-scripts"
|
||||
></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user