Skip to content

Comments

Enable "enforce" CSP for dev deployments#956

Merged
labkey-tchad merged 2 commits intodevelopfrom
fb_enforceCspDev
Dec 20, 2024
Merged

Enable "enforce" CSP for dev deployments#956
labkey-tchad merged 2 commits intodevelopfrom
fb_enforceCspDev

Conversation

@labkey-tchad
Copy link
Member

Rationale

Now that we've deployed "enforce" CSP to production servers, we should have developers run with it locally. Not enabling it by default on TeamCity because tests reliably check for CSP errors where developers might not.
The useLocalBuild parameter is a good proxy for non-TeamCity dev deployments.

Related Pull Requests

  • N/A

Changes

  • Enable the "enforce" CSP when deploying locally
  • Remove example CSPs from dev application.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants