Fix custom CSS when CDN_HOST is set (#15927)

lolsob-rspec
Claire 2021-03-19 20:23:08 +01:00 committed by GitHub
parent 4c9e572798
commit eee8cedfd4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
= stylesheet_link_tag '/inert.css', skip_pipeline: true, media: 'all', id: 'inert-style'
- if Setting.custom_css.present?
= stylesheet_link_tag custom_css_path, media: 'all'
= stylesheet_link_tag custom_css_path, host: request.host, media: 'all'
= yield :header_tags