Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #624 from ehuggett/nit
Browse files Browse the repository at this point in the history
set a default MIME type in file metadata
  • Loading branch information
dannycoates authored Oct 31, 2017
2 parents 2b25b6a + 58555a6 commit 054a973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/fileSender.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
)
);
Expand Down

0 comments on commit 054a973

Please sign in to comment.