mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
* fix(producer): accept browser requests only under loopback, IP or listed host names The standalone render server now refuses a browser request (one carrying Origin or Sec-Fetch-Site) whose Host or Origin names anything other than an IP address, localhost, a *.localhost name, or a host listed in the new allowedHosts option or the comma-separated PRODUCER_ALLOWED_HOSTS variable. A same-origin verdict from Sec-Fetch-Site no longer lets an unlisted name through. Requests without those headers (curl, server-to-server) behave as before, and the bind address is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(producer): trim host-check comments to the package comment budget Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>