1
0
Эх сурвалжийг харах

Make sure assets in ./vendor are precompiled

Dominik Sander 11 жил өмнө
parent
commit
ed2f8e82d8

+ 1 - 0
config/environments/production.rb

@@ -31,6 +31,7 @@ Huginn::Application.configure do
 
   # Generate digests for assets URLs
   config.assets.digest = true
+  config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
 
   # Specifies the header that your server uses for sending files.
   # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache