guoziyun 1 년 전
부모
커밋
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);