Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Steven Fuchs
pleroma
Commits
a31d3589
Commit
a31d3589
authored
2 years ago
by
HJ
Committed by
feld
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update http_security_plug.ex
parent
79bd363a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/pleroma/web/plugs/http_security_plug.ex
+0
-2
0 additions, 2 deletions
lib/pleroma/web/plugs/http_security_plug.ex
with
0 additions
and
2 deletions
lib/pleroma/web/plugs/http_security_plug.ex
+
0
−
2
View file @
a31d3589
...
...
@@ -117,8 +117,6 @@ defp csp_string do
if
Config
.
get
(
:env
)
==
:dev
do
"script-src 'self' 'unsafe-eval'"
else
# TODO right now unsafe-eval is needed for WASM to load in chrome
# see: https://github.com/WebAssembly/content-security-policy/issues/7
"script-src 'self' 'wasm-unsafe-eval'"
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment