79753540

Date: 2025-09-02 13:16:33
Score: 2.5
Natty:
Report link

thanks @jdweng for pointing me in the right direction. Finally resolved it, issue was related to how requests were being intercepted by loadBootResource

// Create new headers object and explicitly copy all headers
const newHeaders = new Headers();
for (let [key, value] of response.headers.entries()) {
    newHeaders.set(key, value);
}

// Ensure WASM files have correct content-type
if (type === 'dotnetwasm' || defaultUri.includes('.wasm')) {
    newHeaders.set('Content-Type', 'application/wasm');
    debugMode ? console.log(`Ensured WASM content-type for: ${name}`) : console.log();
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jdweng
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: firepro20