PacketFire / paste-click

Paste text, images, video or any file
http://paste.click
3 stars 1 forks source link

Posting C code results in text/x-c mimetype #68

Open RaasAhsan opened 5 years ago

RaasAhsan commented 5 years ago

When you upload C code to the app, the Go app infers the mimetype as text/x-c, which browsers don't know how to render. Then it downloads it.

this problem is probably more general to other file types too