mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
ES6: More components moved over.
This commit is contained in:
@ -18,7 +18,8 @@ class SilenceLogger < Rails::Rack::Logger
|
||||
if env[HTTP_X_SILENCE_LOGGER] ||
|
||||
@opts[:silenced].include?(path_info) ||
|
||||
path_info.start_with?('/logs') ||
|
||||
path_info.start_with?('/user_avatar')
|
||||
path_info.start_with?('/user_avatar') ||
|
||||
path_info.start_with?('/letter_avatar')
|
||||
Rails.logger.level = Logger::WARN
|
||||
@app.call(env)
|
||||
else
|
||||
|
Reference in New Issue
Block a user