mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 13:54:27 +08:00
FIX: sidekiq is using _forim_session (#9825)
Configure Sidekiq to use _forum_session instead of a rack.session
This commit is contained in:
parent
62ecb2885f
commit
bf7103343a
@ -23,6 +23,7 @@ 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…
x
Reference in New Issue
Block a user