Following the <official tutorial> for generating a...
# compose-web
s
Following the official tutorial for generating artifacts doesn’t work for me. I get this in the console when I copy the productionExecutable folder and run index.html: • index.html: 8 Access to XMLHttpRequest at ‘file://Users/sam/Developer/productionExecutable/8433c6b_wasm’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted. • skiko.mjs8 failed to asynchronously prepare wasm: [object ProgressEvent] • skiko.mjs8 Aborted( [object ProgressEvent]) • 8433c6b... wasm: 1: Failed to load resource: net:: ERR_FAILED • skiko.mj.s8 Uncaught (in promise) ◦ RuntimeError: Aborted ([object ProgressEvent)). Build with -sASSERTIONS for more info. ▪︎ at V (skiko.mis85457) ▪︎ at skiko.mis86918
e
you need to access it over http://localhost: or https://, not file:///