1
0
mirror of synced 2026-01-08 21:02:10 -05:00

Merge pull request #23469 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2023-01-24 12:34:05 -08:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ const DEFAULT_OPTIONS = {
isDev && 'http://localhost:3000',
'https://www.youtube-nocookie.com',
].filter(Boolean),
frameAncestors: [...GITHUB_DOMAINS],
frameAncestors: isDev ? ['*'] : [...GITHUB_DOMAINS],
styleSrc: ["'self'", "'unsafe-inline'", 'data:', AZURE_STORAGE_URL],
childSrc: ["'self'"], // exception for search in deprecated GHE versions
upgradeInsecureRequests: isDev ? null : [],