stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 172 forks source link

TTF and Woff2 and other font files are broken (containing strange html), when downloading the project #1531

Open BananaAcid opened 1 month ago

BananaAcid commented 1 month ago

Describe the bug

TTF and Woff2 and other font files are broken (containing strange html), when downloading the project

Link to the blitz that caused the error

none

Steps to reproduce

put a ttf into a project and download

Expected behavior

the original file content instead of some strange html

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 129.0.0.0
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 249143947,
  "usedJSHeapSize": 243916475,
  "jsHeapSizeLimit": 4294705152
}
Hash = 134daa3c

Additional context

No response