diff --git a/CHANGELOG.md b/CHANGELOG.md index 208a3df7..0bf98561 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Fixed -- Enable caching in development for the docker image. +- Enable caching in development for the docker image to improve performance. # 0.26.7 - 2025-05-29 diff --git a/Procfile b/Procfile index fd4fe014..d6f4d818 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ web: bundle exec puma -C config/puma.rb -worker: bundle exec sidekiq -C config/sidekiq.yml +worker: bundle exec bin/jobs diff --git a/config/routes.rb b/config/routes.rb index 69ff069b..31189bc5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -29,7 +29,12 @@ Rails.application.routes.draw do end # We want to return a nice error message if the user is not authorized to access Sidekiq or Jobs - match %w[/sidekiq /jobs] => redirect { |_, request| + match '/sidekiq' => redirect { |_, request| + request.flash[:error] = 'You are not authorized to perform this action.' + '/' + }, via: :get + + match '/jobs' => redirect { |_, request| request.flash[:error] = 'You are not authorized to perform this action.' '/' }, via: :get