ruby - public folder on redmine doesn't recognize binary files -
i have put binary file (.apk) on redmine/public folder when try download file text version of file text.
how change behavior direct download?
you need navigate httputils.rb file (it's wherever webrick installed) , add line list of mime types:
application/vnd.android.package-archive apk if seems lot of trouble , you're not trying fancy download (e.g. download directly android phone , install it), can wrap in .zip , call day. zip files download automatically.
Comments
Post a Comment