about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-03-19 20:23:08 +0100
committerGitHub <noreply@github.com>2021-03-19 20:23:08 +0100
commit39a490c70ebad27a1bd5e20c14722750756c79a4 (patch)
tree722980fc242aa0c94a922d6eacad4d697e64be40 /app/views/layouts
parent0ff4264c3e175226414a3782c91dde696132ed2e (diff)
Fix custom CSS when CDN_HOST is set (#15927)
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 9501207e0..436024ee3 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -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