Skip to content

Disallowed hostnames configuration ignored by @percy/core #1132

Answered by itsjwala
agarzola asked this question in Support
Discussion options

You must be logged in to vote

It seems there is a misunderstanding with the disallowed-hostnames option. All options nested under the discovery section are specific to local asset discovery. So disallowed-hostnames will only disallow hostnames from being captured by asset discovery. Their snapshot will still be re-rendered in our infrastructure when screenshots are taken, and assets that aren't captured by asset discovery will still be requested from within our browsers.

We re-render the snapshot as close to the original captured DOM as possible (after freezing animations and such). So if they wish to prevent network requests from happening completely, they'll need to do so from their own code or by removing those spe…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@agarzola
Comment options

@agarzola
Comment options

@itsjwala
Comment options

Answer selected by itsjwala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1131 on November 15, 2022 08:00.