mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Fix failing tests
This commit is contained in:
parent
855872d166
commit
a95d362b63
3 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
Procfile
2
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue