mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
S3 headers
This commit is contained in:
parent
d6610829f8
commit
c5ad288da4
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ class Theme < ActiveRecord::Base
|
|||
|
||||
has_attached_file :css, use_timestamp: false, s3_metadata: {
|
||||
content_type: 'text/stylesheet'
|
||||
}, s3_headers: {
|
||||
'Content-Type': 'text/stylesheet'
|
||||
}, fog_file: {
|
||||
content_type: 'text/stylesheet'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue