mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FIX: Use correct MIME type for theme exports (#8379)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user