Skip to content

Commit d1074b1

Browse files
authored
Merge pull request #14 from team-MoPlus/develop
header 변경
2 parents 6095faf + 6d89fdc commit d1074b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfmain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def create_review_note(data: DetailResultApplication, file_name: str, buffer):
300300
buffer.seek(0)
301301

302302
headers = {
303-
f"Content-Disposition": "attachment; filename={file_name}.pdf", # 파일명 설정
303+
f"Content-Disposition": "inline; filename={file_name}.pdf", # 파일명 설정
304304
}
305305

306306
# StreamingResponse로 PDF 반환

0 commit comments

Comments
 (0)