Oops, add browser-update to config.assets.precompile
This commit is contained in:
parent
1793b6840a
commit
c91d1624cf
|
@ -55,7 +55,7 @@ module Discourse
|
|||
path =~ /assets\/images/ && !%w(.js .css).include?(File.extname(filename))
|
||||
end]
|
||||
|
||||
config.assets.precompile += ['common.css', 'desktop.css', 'mobile.css', 'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js']
|
||||
config.assets.precompile += ['common.css', 'desktop.css', 'mobile.css', 'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'browser-update.js']
|
||||
|
||||
# Precompile all defer
|
||||
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|
|
||||
|
|
Loading…
Reference in New Issue