FIX: Use correct MIME type for theme exports (#8379)

This commit is contained in:
Dan Ungureanu 2019-11-20 17:19:16 +02:00 committed by GitHub
parent 3b5c214ac3
commit 555711ccb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class Admin::ThemesController < Admin::AdminController
headers['Content-Length'] = File.size(file_path).to_s
send_data File.read(file_path),
filename: File.basename(file_path),
content_type: "application/x-gzip"
content_type: "application/zip"
ensure
exporter.cleanup!
end