guoziyun 1 жил өмнө
parent
commit
465522f06f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      views/detail.ejs

+ 1 - 1
views/detail.ejs

@@ -140,7 +140,7 @@
                             const a = document.createElement('a');
                             a.style.display = 'none';
                             a.href = url;
-                            a.download = '<%= detail._id %>.jpeg';
+                            a.download = '<%= detail._id %>.webp';
                             document.body.appendChild(a);
                             a.click();
                             URL.revokeObjectURL(url);