mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Make Vite respect CSP for styles (#36089)
This commit is contained in:
parent
82b26603fe
commit
06803422da
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
= vite_preload_file_tag "mastodon/locales/#{I18n.locale}.json"
|
||||
= csrf_meta_tags unless skip_csrf_meta_tags?
|
||||
%meta{ name: 'style-nonce', content: request.content_security_policy_nonce }
|
||||
%meta{ name: 'style-nonce', content: request.content_security_policy_nonce, property: 'csp-nonce', nonce: request.content_security_policy_nonce }
|
||||
|
||||
= custom_stylesheet
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue