font_assets 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/font_assets/railtie.rb +2 -1
- data/lib/font_assets/version.rb +1 -1
- metadata +1 -1
data/lib/font_assets/railtie.rb
CHANGED
@@ -6,8 +6,9 @@ module FontAssets
|
|
6
6
|
|
7
7
|
initializer "font_assets.configure_rails_initialization" do |app|
|
8
8
|
config.font_assets.origin ||= "*"
|
9
|
+
config.font_assets.options ||= { allow_ssl: true }
|
9
10
|
|
10
|
-
app.middleware.insert_before 'Rack::Lock', FontAssets::Middleware, config.font_assets.origin
|
11
|
+
app.middleware.insert_before 'Rack::Lock', FontAssets::Middleware, config.font_assets.origin, config.font_assets.options
|
11
12
|
end
|
12
13
|
end
|
13
14
|
end
|
data/lib/font_assets/version.rb
CHANGED