about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-29 14:04:24 +0200
committerGitHub <noreply@github.com>2022-10-29 14:04:24 +0200
commitf910f0dc92c1fb71d5c48cc18f2e6147162115c3 (patch)
tree0ee581dd7b594ae77b3d825dbeb99920d88e0d48
parent7926cb1bc7f502c10dc3a6ef3ca97ffc5a0b3a6a (diff)
Fix wrong host being used for custom.css when asset host configured (#19521)
-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 52cdce7c6..fb5ba5cb0 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -35,7 +35,7 @@
     %meta{ name: 'style-nonce', content: request.content_security_policy_nonce }
 
     = stylesheet_link_tag '/inert.css', skip_pipeline: true, media: 'all', id: 'inert-style'
-    = stylesheet_link_tag custom_css_path, host: default_url_options[:host], media: 'all'
+    = stylesheet_link_tag custom_css_path, skip_pipeline: true, host: root_url, media: 'all'
 
     = yield :header_tags