Skip to content

Commit

Permalink
refactor: disable csp by default
Browse files Browse the repository at this point in the history
Configuring CSP correctly requires time and patience, so enabling
it right away is too much to ask from someone when they are not
even worrying about CSP at all
  • Loading branch information
thetutlage committed Mar 6, 2020
1 parent 310e713 commit 4003532
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/shield.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ export const csp: ShieldConfig['csp'] = {
|--------------------------------------------------------------------------
| Enable/disable CSP
|--------------------------------------------------------------------------
|
| The CSP rules are disabled by default for seamless onboarding.
|
*/
enabled: true,
enabled: false,

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 4003532

Please sign in to comment.