Merge pull request #624 from ehuggett/nit
set a default MIME type in file metadata
This commit is contained in:
commit
054a97371c
|
@ -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'
|
||||
})
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue