Skip to content

Commit

Permalink
Merge pull request #23469 from github/repo-sync
Browse files Browse the repository at this point in the history
repo sync
  • Loading branch information
Octomerger authored Jan 24, 2023
2 parents 9ea0b9d + 0ffbb52 commit 79f3efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/helmet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 : [],
Expand Down

0 comments on commit 79f3efd

Please sign in to comment.