We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42467fc commit 3877cd3Copy full SHA for 3877cd3
src/hide-chrome-warning-server.ts
@@ -49,6 +49,11 @@ export class HideChromeWarningServer {
49
`);
50
}
51
52
+ get host(): string {
53
+ return this.server!.url
54
+ .replace('https://', '');
55
+ }
56
+
57
get hideWarningUrl(): string {
58
return this.server.url.replace(/\/?$/, '/hide-chrome-warning');
59
src/interceptors/fresh-chrome.ts
@@ -46,6 +46,8 @@ export class FreshChrome {
46
const browser = await launchBrowser(hideWarningServer.hideWarningUrl, {
47
browser: 'chrome',
48
proxy: `https://localhost:${proxyPort}`,
+ // Don't intercept our warning hiding requests
+ noProxy: hideWarningServer.host,
options: [
`--ignore-certificate-errors-spki-list=${spkiFingerprint}`
]
0 commit comments