summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/runtime/dispatch.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-21 20:54:44 +0900
committerAdam Malczewski <[email protected]>2026-06-21 20:54:44 +0900
commit72747d341badd182338b80602a09f083d0400b14 (patch)
tree69d8d29742934055a092958e54201183de6655b7 /packages/kernel/src/runtime/dispatch.ts
parent6adf0f99431ea3ff430a73082d8296779abe9760 (diff)
downloaddispatch-72747d341badd182338b80602a09f083d0400b14.tar.gz
dispatch-72747d341badd182338b80602a09f083d0400b14.zip
fix(transport-http): set Content-Type on static file responses
Bun.file() returns an empty MIME type for .js files, causing the browser to reject module scripts with strict MIME checking. Added an explicit MIME type map for common static file extensions (.js, .css, .html, .svg, .woff2, etc.).
Diffstat (limited to 'packages/kernel/src/runtime/dispatch.ts')
0 files changed, 0 insertions, 0 deletions