mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Merge commit '651e51a82eba542c4d8c3fec5edd16420ea1ff3e' into glitch-soc/merge-upstream
Conflicts: - `yarn.lock`: Upstream updated a dependency textually adjacent to a glitch-soc-specific one. Updated the dependency as upstream did.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
require 'stoplight'
|
||||
|
||||
Rails.application.reloader.to_prepare do
|
||||
Stoplight.default_data_store = Stoplight::DataStore::Redis.new(RedisConnection.new.connection)
|
||||
Stoplight.default_notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]
|
||||
Stoplight.configure do |config|
|
||||
config.data_store = Stoplight::DataStore::Redis.new(RedisConnection.new.connection)
|
||||
config.notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user