mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
fix(engine): hold the render page to the asset download address rules (#7748)
* fix(engine): hold the render page to the asset download address rules With PRODUCER_RESTRICT_PAGE_NETWORK=true the render page reaches only its own project server and public addresses, checked by host and by resolved address, the rule asset downloads already follow. Unset, nothing changes for local renders. * fix(engine): keep the page network filter comment within four lines
This commit is contained in:
@@ -192,6 +192,13 @@ For larger workloads, the `@hyperframes/producer/distributed` entry exposes the
|
||||
three rendering activities—`plan`, `renderChunk`, and `assemble`. Your
|
||||
orchestrator remains responsible for dispatch, retries, storage, and networking.
|
||||
|
||||
A service that renders projects from other people should set
|
||||
`PRODUCER_RESTRICT_PAGE_NETWORK=true`. The render page can then reach only its own
|
||||
project server and public addresses, checked by host and by every address a name
|
||||
resolves to: the same rule asset downloads follow. A refused request fails like
|
||||
any other failed asset and shows in the render's browser diagnostics. Leave it
|
||||
unset for local renders that load assets from your own machine or network.
|
||||
|
||||
## Related topics
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
Reference in New Issue
Block a user