Browse Source

Fix custom CSS when CDN_HOST is set (#15927)

closed-social-v3
Claire 3 years ago
committed by GitHub
parent
commit
39a490c70e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/layouts/application.html.haml

+ 1
- 1
app/views/layouts/application.html.haml 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

Loading…
Cancel
Save