mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 17:31:12 +00:00
11 lines
296 B
Ruby
11 lines
296 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'stoplight'
|
|
|
|
Rails.application.reloader.to_prepare do
|
|
Stoplight.configure do |config|
|
|
config.data_store = Stoplight::DataStore::Redis.new(RedisConnection.new.connection)
|
|
config.notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]
|
|
end
|
|
end
|