Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

AO3-5202 Fix MIME type for MOBI downloads #3103

Merged
merged 1 commit into from Oct 11, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -98,7 +98,7 @@ def download_mobi
flash[:error] = ts('We were not able to render this work. Please try another format')
redirect_back_or_default work_path(@work) and return
end
- send_file_sync("mobi", "aapplication/x-mobipocket-ebook")
+ send_file_sync("mobi", "application/x-mobipocket-ebook")
end
def download_epub