This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Add form-action CSP directive (
#1948
)
closed-social-glitch-2
Claire
2 years ago
committed by
GitHub
parent
ad84fd25f1
commit
8c56441b4a
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
config/initializers/content_security_policy.rb
+ 1
- 0
config/initializers/content_security_policy.rb
View File
@ -41,6 +41,7 @@ if Rails.env.production?
p
.
worker_src
:self
,
:blob
,
assets_host
p
.
connect_src
:self
,
:blob
,
:data
,
Rails
.
configuration
.
x
.
streaming_api_base_url
,
*
data_hosts
p
.
manifest_src
:self
,
assets_host
p
.
form_action
:self
end
end
Write
Preview
Loading…
Cancel
Save