You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been unable to set files' content-type. Is this a known issue? I tried debugging it by putting some print statements inside of the "def content_type" statement in resource.rb, and it looked like the Middleman::S3Sync::content_types dictionary was completely empty no matter what I put in s3_sync.content_types in config.rb. It also looked like the local_path variable used as a key to that dictionary had values other than what I expected. Instead of "index.html," for example, its value would be "build/index.html."
The text was updated successfully, but these errors were encountered:
to the config file, if that helps anybody else who finds this bug (where build/ is my build directory). But that's definitely not how this feature is supposed to work!
I've been unable to set files' content-type. Is this a known issue? I tried debugging it by putting some print statements inside of the "def content_type" statement in resource.rb, and it looked like the Middleman::S3Sync::content_types dictionary was completely empty no matter what I put in s3_sync.content_types in config.rb. It also looked like the local_path variable used as a key to that dictionary had values other than what I expected. Instead of "index.html," for example, its value would be "build/index.html."
The text was updated successfully, but these errors were encountered: