fix: WASM doc fetch path /doc/modules -> /doc-wasm/modules

This commit is contained in:
Accusys
2026-05-18 10:11:48 +08:00
parent 6452ac5af2
commit 97e29dc2cf

View File

@@ -59,7 +59,7 @@ async function loadDoc(name) {
const el = document.getElementById('content');
el.classList.add('loading');
try {
const resp = await fetch(`/doc/modules/${name}.md`);
const resp = await fetch(`/doc-wasm/modules/${name}.md`);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const md = await resp.text();
el.innerHTML = render_markdown(md);