Skip to content

Commit

Permalink
chore: Revert content-security-policy change
Browse files Browse the repository at this point in the history
This reverts commit 63dc63a.
  • Loading branch information
mapmeld authored Nov 14, 2022
1 parent 63dc63a commit ff7ad9e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 564 deletions.
2 changes: 2 additions & 0 deletions master/internal/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,8 @@ func (m *Master) Run(ctx context.Context) error {
}

// Add resistance to common HTTP attacks.
//
// TODO(DET-1696): Enable Content Security Policy (CSP).
secureConfig := middleware.SecureConfig{
Skipper: middleware.DefaultSkipper,
XSSProtection: "1; mode=block",
Expand Down
Loading

0 comments on commit ff7ad9e

Please sign in to comment.