Skip to content

Commit 7489ac8

Browse files
committed
Use bundled CDN import for demo
1 parent a4dd9b1 commit 7489ac8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ <h2 id="final-check">Final check</h2>
474474
</main>
475475
<script type="module">
476476
const moduleUrl = location.hostname.endsWith("github.io")
477-
? "https://cdn.jsdelivr.net/npm/toc-rail@0.1.3/dist/index.js"
477+
? "https://cdn.jsdelivr.net/npm/toc-rail@0.1.3/+esm"
478478
: "../dist/index.js?v=demo-0.1.3";
479479
const { mountTocRail } = await import(moduleUrl);
480480

0 commit comments

Comments
 (0)