mirror of https://github.com/mastodon/mastodon
Fix deprecation warning for Sidekiq web session secret (#16009)
This commit is contained in:
parent
bf74a7e06d
commit
ed7d459d7f
|
@ -3,8 +3,6 @@
|
||||||
require 'sidekiq_unique_jobs/web'
|
require 'sidekiq_unique_jobs/web'
|
||||||
require 'sidekiq-scheduler/web'
|
require 'sidekiq-scheduler/web'
|
||||||
|
|
||||||
Sidekiq::Web.set :session_secret, Rails.application.secrets[:secret_key_base]
|
|
||||||
|
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
root 'home#index'
|
root 'home#index'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue