Re-work whitelist feature to allow per-site UA configuration

This commit is contained in:
hensm
2022-05-29 20:38:09 +01:00
parent 32a6b218f8
commit 539d2c60d9
15 changed files with 426 additions and 510 deletions

View File

@@ -16,7 +16,6 @@ export default {
mirroringAppId: MIRRORING_APP_ID,
receiverSelectorCloseIfFocusLost: true,
receiverSelectorWaitForConnection: true,
userAgentWhitelistEnabled: true,
userAgentWhitelistRestrictedEnabled: true,
userAgentWhitelist: ["https://www.netflix.com/*"]
siteWhitelistEnabled: true,
siteWhitelist: [{ pattern: "https://www.netflix.com/*" }]
} as Options;