A bug when files were migrated to S3

I encountered a problem that is the opposite of what is described in this content.In fact,all files, including images, have the Content-Disposition set to attachment, causing the files to be downloaded.