API reference / Common / WasmLocateOptions
Interface: WasmLocateOptions
Properties
| Property | Description |
|---|---|
baseUrl?string | URL | Directory the host serves the artifacts from, laid out as @docmentis/udoc-wasm's dist/: wasm/udoc_bg.wasm and fonts/. A URL, or a path such as "/udoc-wasm/", which is the page's. Tried first. |
cdnUrl?string | URL | CDN directory laid out as baseUrl is, tried last. Default jsDelivr's copy of exactly the @docmentis/udoc-wasm this package was built against, https://cdn.jsdelivr.net/npm/@docmentis/udoc-wasm@<version>/dist/. |