mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 15:18:15 +00:00
inline?in the line?
This commit is contained in:
parent
0201595af3
commit
2ae7d0e07c
2 changed files with 6 additions and 1 deletions
|
|
@ -2,5 +2,8 @@
|
|||
|
||||
Rails.application.config.after_initialize do
|
||||
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
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ amazon:
|
|||
force_path_style: true
|
||||
request_checksum_calculation: when_required
|
||||
response_checksum_validation: when_required
|
||||
upload:
|
||||
content_disposition: "inline"
|
||||
|
||||
# Remember not to checkin your GCS keyfile to a repository
|
||||
# google:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue