결과 엑셀 확장자를 .xls → .xlsx 로 변경
파일 내용은 openpyxl 로 작성된 xlsx 포맷이지만 확장자만 .xls 였던 것을 실제 포맷과 맞춰 .xlsx 로 정정. - 서버 다운로드 파일명 확장자 변경 - 프론트 fallback 파일명 변경 xls 파일을 "쓰는" 코드(xlwt 등)는 원래 없었음. xlrd 는 입력 파일(.xls) 을 "읽는" 용도라 유지. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -438,7 +438,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
});
|
||||
|
||||
if (response.ok) {
|
||||
let downloadFilename = '낱개상품출고.xls';
|
||||
let downloadFilename = '낱개상품출고.xlsx';
|
||||
const disposition = response.headers.get('Content-Disposition');
|
||||
if (disposition && disposition.indexOf('filename*=') !== -1) {
|
||||
const matches = disposition.split("filename*=UTF-8''");
|
||||
|
||||
Reference in New Issue
Block a user