forked from e621ng/e621ng
12 lines
342 B
Ruby
12 lines
342 B
Ruby
# frozen_string_literal: true
|
|
|
|
require File.expand_path('../../state_checker', __FILE__)
|
|
|
|
StateChecker.instance.check!
|
|
|
|
Rails.application.config.action_dispatch.session = {
|
|
:key => '_danbooru2_session',
|
|
:secret => StateChecker.instance.session_secret_key
|
|
}
|
|
Rails.application.config.secret_key_base = StateChecker.instance.secret_token
|