diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 12c3fb0..8f05f97 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -510,7 +510,7 @@ - <%= javascript_include_tag 'popper.min', 'bootstrap/js/bootstrap.min', 'dark-mode-switch/dark-mode-switch.min' %> + <%= javascript_include_tag 'dark-mode-switch/dark-mode-switch.min' %> diff --git a/config/environments/production.rb b/config/environments/production.rb index 99c2cbf..b6be9b4 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -31,7 +31,7 @@ config.assets.compile = true config.assets.precompile += %w( js/all.js ) config.assets.precompile += %w( bootstrap/css/bootstrap.css ) - + config.assets.precompile += %w( dark-mode-switch/dark-mode-switch.min ) # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.asset_host = "http://assets.example.com"