Unfortunately, due to CORs restrictions, the wasm assembly cannot be fetched.
Please navigate to this location using a web server.
If you have Python 3 on your system you can just do:
$ python3 -m http.server 6969
`;
});
}
}
let queryParams = new URLSearchParams(window.location.search);
const exampleParam = queryParams.get("example") ?? defaultWasm;
if (Object.values(wasmPaths).flat().includes(exampleParam)) startRaylib(exampleParam);
else startRaylib(defaultWasm);