b18d4bd146
CI / test (push) Failing after 12m25s
http.DetectContentType() cannot detect JS, CSS, SVG, etc. from magic bytes — it falls back to text/plain, causing browsers to reject module scripts with 'Expected a JavaScript module' error. Use mime.TypeByExtension(ext) which correctly maps .js -> application/javascript, .css -> text/css, etc.