diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index a811f9f..2f943e5 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -7,12 +7,3 @@ <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> - diff --git a/config/environments/production.rb b/config/environments/production.rb index 9625b4c..8785ef2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -20,14 +20,14 @@ PutsReq::Application.configure do # config.action_dispatch.rack_cache = true # Disable Rails's static asset server (Apache or nginx will already do this). - config.serve_static_assets = false + config.serve_static_assets = true # Compress JavaScripts and CSS. config.assets.js_compressor = :uglifier # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false + config.assets.compile = true # Generate digests for assets URLs. config.assets.digest = true diff --git a/config/webpacker.yml b/config/webpacker.yml index c69bc41..11298d3 100644 --- a/config/webpacker.yml +++ b/config/webpacker.yml @@ -64,7 +64,7 @@ production: <<: *default # Production depends on precompilation of packs prior to booting for performance. - compile: false + compile: true # Cache manifest.json for performance - cache_manifest: true + cache_manifest: false