Skip to content

uploadContentType

View as Markdown
function uploadContentType(file): string;

Defined in: client/src/client.ts:189

Canonical Content-Type for an upload: browsers often leave type empty or send image/jpg.

Parameter Type
file { name: string; type: string; }
file.name string
file.type string

string