Skip to content

A platform for community discussion. Free, open, simple.

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

Dan Ungureanu555711ccb54b
diff --git a/app/controllers/admin/themes_controller.rb b/app/controllers/admin/themes_controller.rb
index 9c16a0a068c..116ed1b3224 100644
--- a/app/controllers/admin/themes_controller.rb
+++ b/app/controllers/admin/themes_controller.rb
@@ -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