next.js
9b04ed6a - Use whitelist for RSC content-type detection in fallback fetches

Commit
37 days ago
Use whitelist for RSC content-type detection in fallback fetches Revert to whitelist approach (text/x-component, text/plain) and add application/octet-stream for static hosts that serve .txt with that type. Safer than a blocklist since unknown types are rejected by default.
Author
Committer
Parents
Loading