inline?in the line?

This commit is contained in:
24c02 2026-02-03 19:18:17 -05:00
parent 0201595af3
commit 2ae7d0e07c
2 changed files with 6 additions and 1 deletions

View file

@ -2,5 +2,8 @@
Rails.application.config.after_initialize do Rails.application.config.after_initialize do
ActiveStorage::Current.url_options = Rails.application.routes.default_url_options ActiveStorage::Current.url_options = Rails.application.routes.default_url_options
Rails.application.config.active_storage.content_types_allowed_inline << "text/html" Rails.application.config.active_storage.content_types_to_serve_as_binary = []
Rails.application.config.active_storage.content_types_allowed_inline = Hash.new.tap do |h|
def h.include?(item) = true
end
end end

View file

@ -17,6 +17,8 @@ amazon:
force_path_style: true force_path_style: true
request_checksum_calculation: when_required request_checksum_calculation: when_required
response_checksum_validation: when_required response_checksum_validation: when_required
upload:
content_disposition: "inline"
# Remember not to checkin your GCS keyfile to a repository # Remember not to checkin your GCS keyfile to a repository
# google: # google: