Set content type of blobs to text/html

This commit is contained in:
Thomas Weber committed 2020-11-01 21:47:44 -06:00
1 parent 121837e99f
commit 311b2807a8
1 file changed
+3 -1
+3 -1
View File
@@ -514,7 +514,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
environment.setProjectData(projectData);
const result = await environment.package();
if (!(result.data instanceof Blob)) {
result.data = new Blob([result.data]);
result.data = new Blob([result.data], {
type: 'text/html'
});
}
addDownloadLink(result.data, result.filename);
} catch (e) {