1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-09-20 08:01:32 +02:00

Merge pull request #624 from ehuggett/nit

set a default MIME type in file metadata
This commit is contained in:
Danny Coates 2017-10-31 11:09:01 -07:00 committed by GitHub
commit 054a97371c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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