Skip to content

Commit

Permalink
Revert 239 CSP (#240)
Browse files Browse the repository at this point in the history
* Revert "CSP - Upstream Patch (#239)"

This reverts commit 2ed25cc.

* Remove 32bit
  • Loading branch information
DarrenOfficial authored Nov 17, 2023
1 parent 2ed25cc commit 288e923
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dpaste/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@
SECURE_CONTENT_TYPE_NOSNIFF = True

CSP_DEFAULT_SRC = ("'none'",)
# If you edit the CSS/JS update your 256 HASH here.
CSP_SCRIPT_SRC = ("'self'", "'unsafe-hashes'", "'sha256-634c702966ae36dcd81fe7a4c4756413be3b77af4f4a820651faecd1db1ab26a'",)
CSP_STYLE_SRC = ("'self'", "'unsafe-hashes'", "'sha256-7ac9cd7ab2811dac84cdc031d0acf0f355a2ab619f633b857f6db5b4c2b45361'")
CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'")
CSP_STYLE_SRC = ("'self'", "'unsafe-inline'")

LOGGING = {
"version": 1,
Expand Down

0 comments on commit 288e923

Please sign in to comment.