From dd6abf3a936460704f17ada484473afecb705afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A3=BC=EC=88=98=ED=98=84?= Date: Wed, 16 Jul 2025 11:53:14 +0900 Subject: [PATCH] =?UTF-8?q?:=20->=20.=20=EC=9C=BC=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../getAttachment/adapters/web/GetAttachmentController.java | 4 ++-- front/src/main/resources/templates/info/notice/{id}.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/app/module/core/usecase/getAttachment/adapters/web/GetAttachmentController.java b/core/src/main/java/app/module/core/usecase/getAttachment/adapters/web/GetAttachmentController.java index ef498537..fd0f2b76 100644 --- a/core/src/main/java/app/module/core/usecase/getAttachment/adapters/web/GetAttachmentController.java +++ b/core/src/main/java/app/module/core/usecase/getAttachment/adapters/web/GetAttachmentController.java @@ -116,12 +116,12 @@ class GetAttachmentController { sftpFileDownloader.downloadFile(getFile); } catch (JSchException | SftpException | IOException e) { return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR) - .body("SFTP 파일 다운로드에 실패했습니다: " + e.getMessage()); + .body("SFTP 파일 다운로드에 실패했습니다 " + e.getMessage()); } File downloadedFile = new File(getFile.getLocalPath()); if (!downloadedFile.exists()) { return ResponseEntity.status(HttpStatus.NOT_FOUND) - .body("다운로드된 파일을 찾을 수 없습니다: " + getFile.getLocalPath()); + .body("다운로드된 파일을 찾을 수 없습니다 " + getFile.getLocalPath()); } return ResponseEntity.ok() diff --git a/front/src/main/resources/templates/info/notice/{id}.html b/front/src/main/resources/templates/info/notice/{id}.html index 210173fd..674e3593 100644 --- a/front/src/main/resources/templates/info/notice/{id}.html +++ b/front/src/main/resources/templates/info/notice/{id}.html @@ -124,7 +124,7 @@ root: /*[[|#{uri.front.info.user.path}/password|]]*/'rootUrl', }) .catch(error => { console.error('Download error:', error); - ajaxUtil._alert('파일 다운로드에 실패했습니다: ', null); + ajaxUtil._alert('파일 다운로드에 실패했습니다. ', null); }); },