next.js
1f670f98 - Use whitelist for RSC content-type detection in fallback fetches

Commit
52 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
Parents
Loading