|
|
|
|
@ -161,6 +161,10 @@ module Mastodon
|
|
|
|
|
|
|
|
|
|
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time, ActiveSupport::HashWithIndifferentAccess, ActiveSupport::TimeWithZone, ActiveSupport::TimeZone] |
|
|
|
|
|
|
|
|
|
config.public_file_server.headers = { |
|
|
|
|
'X-Content-Type-Options' => 'nosniff', |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb') |
|
|
|
|
# config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')] |
|
|
|
|
|
|
|
|
|
|