fix: WASM import absolute path instead of relative

This commit is contained in:
Accusys
2026-05-18 11:32:14 +08:00
parent 10f0538b0b
commit e61ff88bf8

View File

@@ -49,7 +49,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-
</div>
<script type="module">
import init, { render_markdown, module_list } from './pkg/doc_wasm.js';
import init, { render_markdown, module_list } from '/doc-wasm/pkg/doc_wasm.js';
const API = '';
let currentModule = null;