Skip to content

Commit 89e6757

Browse files
committed
convert stylesheet path to absolute file url
1 parent 51bb069 commit 89e6757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/critical_path_css/rails/config_loader.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def format_css_paths
2424
if config['css_paths']
2525
config['css_paths'].map! { |path| format_path(path) }
2626
else
27-
config['css_paths'] = [ActionController::Base.helpers.stylesheet_path(config['manifest_name'], host: '')]
27+
config['css_paths'] = [format_path(ActionController::Base.helpers.stylesheet_path(config['manifest_name'], host: ''))]
2828
end
2929
end
3030

0 commit comments

Comments
 (0)