diff --git a/docs/guide/standalone/options.md b/docs/guide/standalone/options.md index d1b7920..70b3d1c 100644 --- a/docs/guide/standalone/options.md +++ b/docs/guide/standalone/options.md @@ -29,10 +29,10 @@ For the floating mode, use: ``` -And by setting `window.CAP_CUSTOM_WASM_URL` to the path of the `cap_wasm_bg.wasm` file, like this: +And by setting `window.CAP_CUSTOM_WASM_URL` to the path of the `cap_wasm.js` file, like this: ```js -window.CAP_CUSTOM_WASM_URL = "https:///assets/cap_wasm_bg.wasm"; +window.CAP_CUSTOM_WASM_URL = "https:///assets/cap_wasm.js"; ``` By default, these fetch from `process.env.CACHE_HOST` (which defaults to `https://cdn.jsdelivr.net`). You can change this by setting the `CACHE_HOST` env variable when running the server.