fix: WASM doc fetch path /doc/modules -> /doc-wasm/modules
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user