diff --git a/src/worker/wasi.ts b/src/worker/wasi.ts index 1941894..af0579d 100644 --- a/src/worker/wasi.ts +++ b/src/worker/wasi.ts @@ -51,7 +51,7 @@ const browserBindings = { async function loadWasm(url: string) { const response = await fetch(url) - const contentType = response.headers.get("Content-Type") || "" + const contentType = response.headers.get("Content-Type") ?? "" if ( "instantiateStreaming" in WebAssembly && contentType.startsWith("application/wasm")