Open expectocode opened 8 years ago
Ah your browser calls them "application/" I will add it to the exception list. On Jan 25, 2016 5:54 PM, "expectocode" notifications@github.com wrote:
I love my up1 instance and use it a fair bit, but i find that i can't share sh files as easily as i'd like This should be a simple fix, please implement
— Reply to this email directly or view it on GitHub https://github.com/Upload/Up1/issues/44.
Ah, good good. I was trying to fix it with
'text/x-shellscript': 'text',
Browsers are giving them a blank mime type, I recall seeing when I developed the logic originally that it ran a check for null bytes and called it text/plain
if it had none but binary otherwise..but I am not seeing that....just an empty mime type in FF and Chrome..I will look into running that check myself for small files.
I love my up1 instance and use it a fair bit, but i find that i can't share .sh files as easily as i'd like. This should be a simple fix, please implement.