DEV: Remove deprecated Sidekiq config (#12427)
> WARNING: Sidekiq::Web.sessions= is no longer relevant and will be removed in Sidekiq 7.0.
This commit is contained in:
parent
9c3d5f861d
commit
38dd81d38a
|
@ -25,7 +25,6 @@ Discourse::Application.routes.draw do
|
||||||
post "webhooks/sparkpost" => "webhooks#sparkpost"
|
post "webhooks/sparkpost" => "webhooks#sparkpost"
|
||||||
|
|
||||||
scope path: nil, constraints: { format: /.*/ } do
|
scope path: nil, constraints: { format: /.*/ } do
|
||||||
Sidekiq::Web.set :sessions, Rails.application.config.session_options
|
|
||||||
if Rails.env.development?
|
if Rails.env.development?
|
||||||
mount Sidekiq::Web => "/sidekiq"
|
mount Sidekiq::Web => "/sidekiq"
|
||||||
mount Logster::Web => "/logs"
|
mount Logster::Web => "/logs"
|
||||||
|
|
Loading…
Reference in New Issue