save as .log instead of .json

This commit is contained in:
Tamius Han 2020-02-06 22:59:43 +01:00
parent 21e24cc226
commit e529239c8d

View File

@ -14,7 +14,7 @@ class IO {
const a = document.createElement('a');
a.style.display = 'none';
a.href = fileUrl;
a.download = 'ultrawidify-log.json';
a.download = 'ultrawidify-log.log';
document.body.appendChild(a);
a.click();
window.URL.revokeObjectURL(fileUrl);