Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /