From 58555a6b85f90d8fbff0781d6bda9b7d43cbe906 Mon Sep 17 00:00:00 2001 From: ehuggett Date: Fri, 27 Oct 2017 22:41:20 +0100 Subject: [PATCH] set a default MIME type --- app/fileSender.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fileSender.js b/app/fileSender.js index 51985022..d5a00eec 100644 --- a/app/fileSender.js +++ b/app/fileSender.js @@ -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' }) ) );