pantheon-systems / pantheon_domain_masking

Domain Masking helper module for D8
GNU General Public License v2.0
11 stars 6 forks source link

Setting public files base url with the subpath value #6

Closed eabquina closed 10 months ago

eabquina commented 4 years ago

At the moment, we don't support rewriting the public files base URLs thus requiring us to do AGCDN restarts for referenced assets as a workaround.

As a proposal, we consider also setting the file_public_base_url to append the subpath to the defined public_base_url: $settings['file_public_base_url'] = "${proto}://${forwardedHost}${subpath}/sites/default/files"