Merge branch 'next-minor' into develop
This commit is contained in:
commit
212da3a2b7
3 changed files with 5 additions and 2 deletions
|
|
@ -18,6 +18,8 @@
|
|||
* Handle duplicates for TagFollowing on account merging [#7807](https://github.com/diaspora/diaspora/pull/7807)
|
||||
|
||||
## Bug fixes
|
||||
* Fix compatibility with newer glibc versions [#7828](https://github.com/diaspora/diaspora/pull/7828)
|
||||
* Allow fonts to be served from asset host in CSP [#7825](https://github.com/diaspora/diaspora/pull/7825)
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@ GEM
|
|||
to_regexp (~> 0.2.1)
|
||||
jwt (1.5.6)
|
||||
kgio (2.11.2)
|
||||
kostya-sigar (2.0.0)
|
||||
kostya-sigar (2.0.4)
|
||||
leaflet-rails (1.3.1)
|
||||
rails (>= 4.2.0)
|
||||
listen (3.1.5)
|
||||
|
|
@ -921,4 +921,4 @@ DEPENDENCIES
|
|||
will_paginate (= 3.1.6)
|
||||
|
||||
BUNDLED WITH
|
||||
1.16.1
|
||||
1.16.2
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ SecureHeaders::Configuration.default do |config|
|
|||
|
||||
if AppConfig.environment.assets.host.present?
|
||||
asset_host = Addressable::URI.parse(AppConfig.environment.assets.host.get).host
|
||||
csp[:font_src] << asset_host
|
||||
csp[:script_src] << asset_host
|
||||
csp[:style_src] << asset_host
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue