set a default MIME type

This commit is contained in:
ehuggett 2017-10-27 22:41:20 +01:00
parent 52113395db
commit 58555a6b85
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ export default class FileSender extends Nanobus {
JSON.stringify({ JSON.stringify({
iv: arrayToB64(this.iv), iv: arrayToB64(this.iv),
name: this.file.name, name: this.file.name,
type: this.file.type type: this.file.type || 'application/octet-stream'
}) })
) )
); );