diff options
| author | Adam Malczewski <[email protected]> | 2026-06-21 20:54:44 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-21 20:54:44 +0900 |
| commit | 72747d341badd182338b80602a09f083d0400b14 (patch) | |
| tree | 69d8d29742934055a092958e54201183de6655b7 /packages/kernel/src/runtime | |
| parent | 6adf0f99431ea3ff430a73082d8296779abe9760 (diff) | |
| download | dispatch-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')
0 files changed, 0 insertions, 0 deletions
